If you are using DropBox on MacBook you must have seen that once we finish with registration process. It closes the main window application and removes it self from dock item yet the application is running from status menu.
Visual:
What I have done so far :
- My application runs perfectly with show NSWindow
- When I login from my front application window I am able to create a status menu icon with popover
- In this step I want to remove the NSWindow and Dock Icon yet the application should be accessible from status menu.
How to achieve this?
FYI : I am not expecting any code, just understanding or a quick hint. I will figure out the rest :)
Resource I am referring to,
Later I will configure my app for launchd. So at system startup it can launch and shows it self in status menu. Now I am I looking at a good resource(Of course its good because its Apple Doc) but as I am a naive programmer, does anyone have a good example link? which shows how to add application in launched?
EDIT:
I will be following this tutorial to add into startup, later user can change their preferences if they want, They can choose turn on my app or turn off on startup