[Mono-osx] OS X 10.5?
curtis.wensley at gmail.com
Tue Oct 4 15:26:53 EDT 2011
Also, found this:
Specifically, this excerpt:
> You should call the super implementation of awakeFromNib only if you know
> for certain that your superclass provides an implementation. Because the
> Application Kit does not provide a default implementation of the
> awakeFromNib method, calling super results in an exception if the parent
> class does not implement it. Classes whose immediate parent class is
> NSObject or NSView do not need to call the super implementation. For any
> other classes, you can use the instancesRespondToSelector: class method of
> NSObject to determine if the parent class responds to awakeFromNib and
> call the method if it does.
Perhaps you should not be calling the base class after all? or at least use
the RespondsToSelector to see if it actually is implemented in the base
View this message in context: http://mono.1490590.n4.nabble.com/OS-X-10-5-tp3857825p3872073.html
Sent from the Mono - OSX mailing list archive at Nabble.com.
More information about the Mono-osx