13

I've little knowledge in developing Mac window based application. When the app starts up, i don't want to show the window at all. I'm placing icon in status bar and on right clicking it will show options and one option is to see the window. Can some one tell me how to hide the window when the app starts up?

Satyam
  • 15,493
  • 31
  • 131
  • 244
  • You can also find a short introduction how to create a status bar application at http://www.jademind.com/blog/posts/how-to-create-a-mac-osx-status-bar-application – anka Apr 30 '13 at 09:37

1 Answers1

18

In application xib, select the window object, and you will see "Visible at Launch" in Attributes Inspector.

huoxinbird
  • 520
  • 6
  • 13
  • 3
    xCode 6 has 'Is Initial Controller' checkbox attribute. Visible at launch is no longer helpful – heximal Feb 28 '15 at 10:15
  • 2
    thank heximal. "Visible at Launch" is really no longer helpful. Should disable 'Is Initial Controller' checkbox – derjohng Jan 09 '16 at 09:04