gnustep / libs-gui

The GNUstep gui library is a library of graphical user interface classes written completely in the Objective-C language; the classes are based upon Apple's Cocoa framework (which came from the OpenStep specification). *** Larger patches require copyright assignment to FSF. please file bugs here. ***
http://www.gnustep.org
GNU General Public License v3.0
279 stars 103 forks source link

Move awakeFromNib implementation to NSObject instead of NSView, as di… #210

Closed gcasa closed 1 year ago

gcasa commented 1 year ago

As discussed in the documentation

gcasa commented 1 year ago

https://github.com/gnustep/libs-base/issues/352

gcasa commented 1 year ago

https://github.com/gnustep/libs-gui/issues/211

gcasa commented 1 year ago

https://developer.apple.com/documentation/objectivec/nsobject/1402907-awakefromnib?language=objc

fredkiefer commented 1 year ago

The change itself is OK, but now we also could remove all the checks whether an objects responds to awakeFromNib

gcasa commented 1 year ago

The change itself is OK, but now we also could remove all the checks whether an objects responds to awakeFromNib

I didn't see this comment. I will do this in a separate PR.