mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-21 09:50:58 +00:00
* Source/NSCollectionView.m (+initialize): Add binding for
content. * Source/NSViewController.m (-loadView): Don't try to load the view if there is no name for the NIB. * Source/NSArrayController.m (-initWithContent:): Sets automaticallyRearrangesObjects to true. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@38384 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
896756ae92
commit
8206719047
4 changed files with 16 additions and 2 deletions
|
@ -37,6 +37,7 @@
|
|||
#import "AppKit/NSEvent.h"
|
||||
#import "AppKit/NSGraphics.h"
|
||||
#import "AppKit/NSImage.h"
|
||||
#import "AppKit/NSKeyValueBinding.h"
|
||||
#import "AppKit/NSPasteboard.h"
|
||||
#import "AppKit/NSWindow.h"
|
||||
|
||||
|
@ -94,7 +95,11 @@ static NSString *placeholderItem = nil;
|
|||
//
|
||||
+ (void) initialize
|
||||
{
|
||||
placeholderItem = @"Placeholder";
|
||||
if (self == [NSCollectionView class])
|
||||
{
|
||||
placeholderItem = @"Placeholder";
|
||||
[self exposeBinding: NSContentBinding];
|
||||
}
|
||||
}
|
||||
|
||||
- (id) initWithFrame: (NSRect)frame
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue