Hello,
I wrote an application (using NSApplication) that adds a StatusItem to the
StatusBar. Since this is totally sufficient and the application actually has no
window I want to remove the menu of the application, the entry in the dock and
also the application shall not appear when pressing
Pretty easy:
- add an entry to your Info.plist: LSUIElement = true (this is the
Application is agent entry)
It's not necessary to delete the menu from MainMenu.xib, because I believe
that's only used when your app lives in the Dock. Leaving it in allows your
app to still respond to things
On 2011-02-12, at 12:35 PM, Eckart Schlottmann wrote:
Hello,
I wrote an application (using NSApplication) that adds a StatusItem to the
StatusBar. Since this is totally sufficient and the application actually has
no window I want to remove the menu of the application, the entry in the