Re: Running window as a sheet

2015-02-10 Thread Charles Jenkins
Thank you all very much. You know, I started this attempt by typing [settings beginSheet because I assumed all windows/windowControllers acted like savePanel, but XCode didn't give any code-completion suggestions for that. Then when I did some documentation research, I read that SavePanel's

Re: Running window as a sheet

2015-02-09 Thread Roland King
On 10 Feb 2015, at 11:08, Charles Jenkins cejw...@gmail.com wrote: So I have a window that now works fine as a modal window, but because I don’t like where it appears on the screen, I’m attempting to run it as a sheet instead. My Cocoa books and the NSWindow documentation seem to

Running window as a sheet

2015-02-09 Thread Charles Jenkins
  So I have a window that now works fine as a modal window, but because I don’t like where it appears on the screen, I’m attempting to run it as a sheet instead. My Cocoa books and the NSWindow documentation seem to suggest that any window can be run as a sheet, and they along with XCode’s

Re: Running window as a sheet

2015-02-09 Thread Ken Thomases
On Feb 9, 2015, at 9:08 PM, Charles Jenkins cejw...@gmail.com wrote: So I have a window that now works fine as a modal window, but because I don’t like where it appears on the screen, I’m attempting to run it as a sheet instead. My Cocoa books and the NSWindow documentation seem to suggest

Re: Running window as a sheet

2015-02-09 Thread Quincey Morris
On Feb 9, 2015, at 19:24 , Ken Thomases k...@codeweavers.com wrote: -beginSheetModalForWindow:completionHandler: is a method on NSAlert and NSSavePanel. And the last detail: Xcode let you compile it where you did because ‘NSApp’ happens to be declared as ‘id’ for inscrutable historical