• 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: NSDocumentController didCloseAllSelector
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSDocumentController didCloseAllSelector


  • Subject: Re: NSDocumentController didCloseAllSelector
  • From: Graham Cox <email@hidden>
  • Date: Thu, 1 Oct 2009 12:15:46 +1000


On 01/10/2009, at 12:06 PM, Adam R. Maxwell wrote:

NSInvocation is the correct way to handle this. See the 10.5 release notes, and search for NSInvocation on that page:

http://developer.apple.com/mac/library/releasenotes/Cocoa/AppKitOlderNotes.html#X10_5Notes

That should bring you to a helpful discussion titled "Advice for Overriders of Methods that Follow the delegate:didSomethingSelector:contextInfo: Pattern."



Wow. I thought it was byzantine even before I read this ;-)

At least it gives some rationale for the design, which helps. Chris, looks like this is what you have to do.

--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


  • Follow-Ups:
    • Re: NSDocumentController didCloseAllSelector
      • From: "Adam R. Maxwell" <email@hidden>
References: 
 >NSDocumentController didCloseAllSelector (From: Chris Idou <email@hidden>)
 >Re: NSDocumentController didCloseAllSelector (From: Graham Cox <email@hidden>)
 >Re: NSDocumentController didCloseAllSelector (From: "Adam R. Maxwell" <email@hidden>)

  • Prev by Date: Re: NSDocumentController didCloseAllSelector
  • Next by Date: Re: Releasing NSSearchPathForDirectoriesInDomain causes crash
  • Previous by thread: Re: NSDocumentController didCloseAllSelector
  • Next by thread: Re: NSDocumentController didCloseAllSelector
  • Index(es):
    • Date
    • Thread