개발관련/Mac

NSWindow programatically show & hide

자두맛쭝이 2011. 11. 7. 10:27
// show

[window makeKeyAndOrderFront:self];
[NSApp activateIgnoringOtherApps:YES];

// hide

[window orderOut:self]