Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

whooleytoo

macrumors 604
Aug 2, 2002
6,607
716
Cork, Ireland.
Use one of the following methods from the NSWindow class

- orderOut to hide the window.
- close to hide the window, and will also release the window object if it's set to release on close.
- performClose to simulate a mouse-click on the close box, and will invoke the windowShouldClose method if it has been implemented.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.