Created
June 5, 2011 05:33
-
-
Save franciscoadasme/1008688 to your computer and use it in GitHub Desktop.
How to show a custom NSWindow as a sheet
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // delegate will be notified that sheet did end calling to didEndSheet:returnCode:contextInfo: | |
| [NSApp beginSheet:customWindow | |
| modalForWindow:mainwindow | |
| modalDelegate:delegate | |
| didEndSelector:@selector(didEndSheet:returnCode:contextInfo:) | |
| contextInfo:nil]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment