• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: delegate of an NWindowController's window
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Re: delegate of an NWindowController's window (From: Koen van der Drift <email@hidden>)
 >Re: delegate of an NWindowController's window (From: Conrad Shultz <email@hidden>)

  • Prev by Date: Re: Cocoa-dev Digest, Vol 8, Issue 783
  • Next by Date: Re: debugging crashes in dyld?
  • Previous by thread: Re: delegate of an NWindowController's window
  • Next by thread: applicationWillFinishLaunching
  • Index(es):
    • Date
    • Thread