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:
Gregory John Casamento 2023-11-24 22:22:14 -05:00
parent 4b3014922c
commit 8c421a3c8e
2 changed files with 14 additions and 0 deletions

View file

@ -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

View file

@ -61,6 +61,11 @@
// empty implementation, so that all objects respond...
}
- (void) prepareForInterfaceBuilder
{
// empty implementation, so that all objects respond...
}
@end
@implementation NSNib