Making a window visible and invisible

Discussion in 'Mac Programming' started by Chirone, Apr 13, 2009.

  1. Chirone macrumors 6502

    Mar 2, 2009
    hi all, this time it should be a simple question....

    the only way i can see how to do this is to set a window's alpha value

    surely there is a clean way to just toggle between having the window open and closed right?

    i saw a close method but no open method... what's the opposite of close if it's not open? :confused:

    you can make it not visible when the program starts up, that's great and all, but it would be nice to make it visible on the click of a button/menu item... :confused:

    nevermind, ive probably found the answer here

    even though it's way out of date i'm sure the process is still the same

    yeah, nah, the code fails
    yet the sample code worked
    i love how this always happens..... :(

    disregard everything i said in this thread

    i had a typo in the name of the xib file..... *drunk* (see i told you it was an easy question this time ;))

Share This Page