Re: Who owns a child view controller?
Re: Who owns a child view controller?
- Subject: Re: Who owns a child view controller?
- From: Jeremy Hughes <email@hidden>
- Date: Wed, 12 Jul 2017 22:24:45 +0100
Thanks for elucidating!
> On 12 Jul 2017, at 22:03, Greg Parker <email@hidden> wrote:
>
> ARC does add an optimization where a cooperating caller and callee can safely
> avoid the retain/release pair around the return operation, effectively
> transforming that call into the return-retained convention.
So in my original example, autorelease is optimised away when dealing with
native Swift objects, but not when dealing with Cocoa objects?
Jeremy
_______________________________________________
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