Cocoa status bar (UIElement) app settings window
I got it all working, but when i click on the settings, the settings windo开发者_高级运维w (in nswindowcontroller) opens up on the back of other apps running on my mac. I want it in the front so user can see it when he clicks it.
Thank you all!
seems like i got it working finally! :)
[[NSApplication sharedApplication] activateIgnoringOtherApps:YES];
when the user clicks the settings menu item, i execute this code :) am writing this just in case if someone will look for a similar thing.
精彩评论