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

python - How to create a legend for 3D bar in matplotlib? -

java - Multi-Label Document Classification -

php - Dynamic url re-writing using htaccess -