cocoa - applicationDidBecomeActive doesn't fire in OSX application -
in app have following setup :
// .h @interface mydocument : nspersistentdocument <nsapplicationdelegate> { ... } // .m @implementation mydocument -(void) applicationdidbecomeactive:(nsnotification *)notification { ... } the applicationdidbecomeactive never gets called reason. know i'm missing here?!
thanks carter's comment, figured out in nib file application delegate not linked file's owner (mydocument). there fore, linking 2 fix problem!
Comments
Post a Comment