Re: NSDocumentController didCloseAllSelector
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