Re: delegate of an NWindowController's window
Re: delegate of an NWindowController's window
- Subject: Re: delegate of an NWindowController's window
- From: Koen van der Drift <email@hidden>
- Date: Thu, 29 Sep 2011 22:06:13 -0400
On Sep 29, 2011, at 9:03 PM, Conrad Shultz wrote:
>
> An alternate approach, depending on the details of your
> implementation, might be to make use of some of the other parameters
> in that lengthy -beginSheet... method; setting appropriate values for
> didEndSelector (and, potentially, contextInfo if your design requires
> it) can probably get you what you need.
This is what I ended up doing, and it works. It took me a while to figure out how to use contextInfo, but I found an example here:
http://www.digitalenginesoftware.com/blog/archives/54-The-proper-care-and-feeding-of-NSWindow-objects-display-as-a-sheet.html
Thanks,
- Koen.
_______________________________________________
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