How to make window not show up

Hello all,

I am trying to build an app that sits up in the menu bar. Unforunately, I can't get the main window to not show up when I run the app. I made the dock icon go away by editing it in info.plist, but when I try to delete the window in Main.storyboard, I can't find an option. I only want the app to show up in the menu bar, which is why I want to get rid of the window.

Replies

When you select the Attributes Inspector for the window (down pointing arrow in Inspector list), uncheck "Visible at launch".