Making NSWindow hidden at start

Discussion in 'Mac Programming' started by Samppaa, Mar 26, 2010.

  1. Samppaa macrumors regular

    Mar 26, 2010
    Hey I am making my first proper cocoa program as I got interested in mac programming, I have done c++ for like a year and so on I know this good aswell, but got slight problems with xcode like I got login form and when you press login it opens another window, but the another window is already visible when I start debugging how do I make it hidden or closed at start?

    Thanks guys.. I am really noob with macs
  2. robbieduncan Moderator emeritus


    Jul 24, 2002
    Assuming you have setup the windows in Interface Builder there's a checkbox in the NSWindow properties for visible at startup. Uncheck it.
  3. Samppaa thread starter macrumors regular

    Mar 26, 2010

Share This Page