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

Popular posts from this blog

jquery - Common JavaScript snippet to share files on Google Drive, Dropbox, Box.net or SkyDrive -

user interface - Python attempting to create a simple gui, getting "AttributeError: 'MainMenu' object has no attribute 'intro_screen'" -

Android Gson.fromJson error -