• 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: Documents not opening from Finder
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Re: Documents not opening from Finder (From: Steve Mills <email@hidden>)
 >Re: Documents not opening from Finder (From: Quincey Morris <email@hidden>)
 >Re: Documents not opening from Finder (From: Steve Mills <email@hidden>)
 >Re: Documents not opening from Finder (From: Quincey Morris <email@hidden>)
 >Re: Documents not opening from Finder (From: Steve Mills <email@hidden>)
 >Re: Documents not opening from Finder (From: Kyle Sluder <email@hidden>)
 >Re: Documents not opening from Finder (From: "Mills, Steve" <email@hidden>)
 >Re: Documents not opening from Finder (From: Quincey Morris <email@hidden>)
 >Re: Documents not opening from Finder (From: Graham Cox <email@hidden>)

  • Prev by Date: Re: Documents not opening from Finder
  • Next by Date: move large data structure to Core Data?
  • Previous by thread: Re: Documents not opening from Finder
  • Next by thread: Syncing CATiledLayer drawInContext: with setAffineTransform:
  • Index(es):
    • Date
    • Thread