Note that there are some explanatory texts on larger screens.

plurals
  1. POHow to close NSWindow and remove the application Icon from dock menu, yet
    text
    copied!<p>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.</p> <hr> <h2>Visual:</h2> <p><img src="https://i.stack.imgur.com/YwNx0.png" alt="enter image description here"></p> <hr> <h2>What I have done so far :</h2> <ul> <li>My application runs perfectly with show NSWindow</li> <li>When I login from my front application window I am able to create a status menu icon with popover</li> <li><strong>In this step I want to remove the NSWindow and Dock Icon yet the application should be accessible from status menu.</strong></li> </ul> <p>How to achieve this? </p> <p><strong>FYI : I am not expecting any code, just understanding or a quick hint. I will figure out the rest :)</strong></p> <hr> <h2>Resource I am referring to,</h2> <p>Later I will configure my app for <a href="https://developer.apple.com/library/mac/#documentation/MacOSX/Conceptual/BPSystemStartup/Articles/CustomLogin.html" rel="nofollow noreferrer">launchd</a>. 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? </p> <h2>EDIT:</h2> <p>I will be following this <a href="http://cocoatutorial.grapewave.com/tag/lssharedfilelist-h/" rel="nofollow noreferrer">tutorial</a> 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</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload