mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 02:04:20 +00:00
Move awakeFromNib implementation to NSObject instead of NSView, as discussed in the documentation
This commit is contained in:
parent
bb7304e449
commit
4b3014922c
2 changed files with 10 additions and 4 deletions
|
@ -53,6 +53,16 @@
|
|||
#import "AppKit/NSNibLoading.h"
|
||||
#import "GNUstepGUI/GSModelLoaderFactory.h"
|
||||
|
||||
|
||||
@implementation NSObject (NSNibLoading)
|
||||
|
||||
- (void) awakeFromNib
|
||||
{
|
||||
// empty implementation, so that all objects respond...
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
@implementation NSNib
|
||||
|
||||
// private method to read in the data...
|
||||
|
|
|
@ -5231,10 +5231,6 @@ static NSView* findByTag(NSView *view, NSInteger aTag, NSUInteger *level)
|
|||
return 0;
|
||||
}
|
||||
|
||||
- (void) awakeFromNib
|
||||
{
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
#if OS_API_VERSION(MAC_OS_X_VERSION_10_7, GS_API_LATEST)
|
||||
|
|
Loading…
Reference in a new issue