Re: Documents not opening from Finder
Re: Documents not opening from Finder
- Subject: Re: Documents not opening from Finder
- From: Quincey Morris <email@hidden>
- Date: Sat, 02 Mar 2013 17:32:28 -0800
On Mar 2, 2013, at 17:11 , Graham Cox <email@hidden> wrote:
> Unless you send -retainArguments to it, in which case it, well, does what it says on the tin.
OK, but it's still a bit more complicated than that. Using the override code suggested in the AppKit release notes I linked to, you also have to deal with the management of the 'contextInfo' parameter, which is one of those awkward ARC cases.
There are likely also some bridging casts needed, since the 'didSomethingSelector' and 'contextInfo' patterns both gloss over the difference between void* and id.
So maybe what I should have said was that NSInvocation needs some hand-holding when used with ARC.
_______________________________________________
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