Reputation: 3012
I got it all working, but when i click on the settings, the settings window (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!
Upvotes: 2
Views: 692
Reputation: 3012
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.
Upvotes: 6