• 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: NSInvocation crashes in AutoreleasePool
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSInvocation crashes in AutoreleasePool


  • Subject: Re: NSInvocation crashes in AutoreleasePool
  • From: Scott Ribe <email@hidden>
  • Date: Wed, 22 Oct 2014 13:11:21 -0600

> On Oct 22, 2014, at 1:04 PM, Gerriet M. Denkmann <email@hidden> wrote:
>
> So, indeed, __autoreleasing seems to be the answer.
> ( __autoreleasing is used to denote arguments that are passed by reference (id *) and are autoreleased on return.)

Honestly, my read was that it was for by-reference arguments passed in, that is, it is intended for use in the called function, where you would create the object & autorelease it.

Does __unsafe_unretained work as well? Again, I don't use ARC, so I'm just doing quick lookups, but my read was that __unsafe_unretained was the appropriate one here...

--
Scott Ribe
email@hidden
http://www.elevated-dev.com/
(303) 722-0567 voice





_______________________________________________

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: 
 >NSInvocation crashes in AutoreleasePool (From: "Gerriet M. Denkmann" <email@hidden>)
 >Re: NSInvocation crashes in AutoreleasePool (From: Greg Parker <email@hidden>)
 >Re: NSInvocation crashes in AutoreleasePool (From: "Gerriet M. Denkmann" <email@hidden>)
 >Re: NSInvocation crashes in AutoreleasePool (From: Scott Ribe <email@hidden>)
 >Re: NSInvocation crashes in AutoreleasePool (From: "Gerriet M. Denkmann" <email@hidden>)
 >Re: NSInvocation crashes in AutoreleasePool (From: Jonathan Mitchell <email@hidden>)
 >Re: NSInvocation crashes in AutoreleasePool (From: Scott Ribe <email@hidden>)
 >Re: NSInvocation crashes in AutoreleasePool (From: "Gerriet M. Denkmann" <email@hidden>)

  • Prev by Date: Re: NSInvocation crashes in AutoreleasePool
  • Next by Date: Crash with ARC enabled on Xcode 6.1
  • Previous by thread: Re: NSInvocation crashes in AutoreleasePool
  • Next by thread: Re: NSInvocation crashes in AutoreleasePool
  • Index(es):
    • Date
    • Thread