mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-22 19:01:15 +00:00
Add method -prepareForInterfaceBuilder since it is in the same place as awakeFromNib and is trivial to add, this method will be useful in Gorm in the future
This commit is contained in:
parent
4b3014922c
commit
8c421a3c8e
2 changed files with 14 additions and 0 deletions
|
@ -47,6 +47,15 @@
|
|||
*/
|
||||
- (void) awakeFromNib;
|
||||
|
||||
#if OS_API_VERSION(MAC_OS_X_VERSION_10_8, GS_API_LATEST)
|
||||
/**
|
||||
* This method is called on a designable object to notify it that it
|
||||
* was created at design time. This allows IB/Gorm to set up the
|
||||
* appearance of the object when loaded into the editor.
|
||||
*/
|
||||
- (void) prepareForInterfaceBuilder;
|
||||
#endif
|
||||
|
||||
@end
|
||||
|
||||
|
||||
|
|
|
@ -61,6 +61,11 @@
|
|||
// empty implementation, so that all objects respond...
|
||||
}
|
||||
|
||||
- (void) prepareForInterfaceBuilder
|
||||
{
|
||||
// empty implementation, so that all objects respond...
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
@implementation NSNib
|
||||
|
|
Loading…
Reference in a new issue