NSView is missing a dummy implementation of awakeFromNib
gcasa opened this issue · 1 comments
gcasa commented
On Cocoa/MacOS there is apparently a dummy implementation of awakeFromNib. When we load a custom view that calls [super awakeFromNib] in GS we get...
** Build Succeeded
[heron@mother NSView_subclass_awakeFromNib_test] % ./build/NSView_subclass_awakeFromNib_test/Products/NSView_subclass_awakeFromNib_test.app/NSView_subclass_awakeFromNib_test
2023-08-31 15:41:41.401 NSView_subclass_awakeFromNib_test[222229:222229] Exception occurred while loading model: MyView(instance) does not recognize awakeFromNib
2023-08-31 15:41:41.402 NSView_subclass_awakeFromNib_test[222229:222229] Failed to load Xib
2023-08-31 15:41:41.402 NSView_subclass_awakeFromNib_test[222229:222229] Cannot load the main model file 'MainMenu'
On macOS this DOES NOT HAPPEN. I am going to add an awakeFromNib method in NSView that does nothing.