Re: Trying to display a simple sheet
Re: Trying to display a simple sheet
- Subject: Re: Trying to display a simple sheet
- From: Scott Ribe <email@hidden>
- Date: Mon, 19 Jan 2009 18:10:03 -0700
- Thread-topic: Trying to display a simple sheet
NSApp beginSheet is the correct method, without any runModalForWindow.
The modalForWindow argument is *not* the sheet window, it is the window on
which to display the sheet. And of course you don't create an empty sheet to
display it...
I'm guessing that [sourceTableView window] is the window you want to display
as a sheet, and the window on which you want to display is not shown in your
code--but your code sample doesn't provide enough context to really see
what's going on.
--
Scott Ribe
email@hidden
http://www.killerbytes.com/
(303) 722-0567 voice
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden