Pergunta

I have an NSMenu instance, through which all communication with the Cocoa app will take place. If the menu is open, the background doesn't run, so how can I force an update while the menu is still active?

Foi útil?

Solução

See Force NSMenu (nested submenu) update for Main Menu of Cocoa App and run that method in the background. (Don't forget to create an NSAutoreleasePool.)

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top