• 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: [NSOpenPanel] Is there a way to access the contextual information?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [NSOpenPanel] Is there a way to access the contextual information?


  • Subject: Re: [NSOpenPanel] Is there a way to access the contextual information?
  • From: Graham Cox <email@hidden>
  • Date: Mon, 28 Dec 2009 11:00:02 +1100

On 28/12/2009, at 10:41 AM, Iceberg-Dev wrote:

> I could but isn't the purpose of a contextual info to be "contextual" and so not attached to the controller instance?


Yes, but the controller has the context - it passed 'contextInfo' so it already knows it, whatever it is. However it got that info, it must still have it at any time the delegate method is called.

Anyway, you haven't got any alternative - the contextInfo isn't passed directly to the delegate methods.

--Graham


_______________________________________________

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: 
 >[NSOpenPanel] Is there a way to access the contextual information? (From: Iceberg-Dev <email@hidden>)
 >Re: [NSOpenPanel] Is there a way to access the contextual information? (From: Graham Cox <email@hidden>)
 >Re: [NSOpenPanel] Is there a way to access the contextual information? (From: Iceberg-Dev <email@hidden>)

  • Prev by Date: Re: [NSOpenPanel] Is there a way to access the contextual information?
  • Next by Date: Any way to keep on pane of NSSplitView from resizing?
  • Previous by thread: Re: [NSOpenPanel] Is there a way to access the contextual information?
  • Next by thread: Re: [NSOpenPanel] Is there a way to access the contextual information?
  • Index(es):
    • Date
    • Thread