Re: copyWithZone archive/unarchive
Re: copyWithZone archive/unarchive
- Subject: Re: copyWithZone archive/unarchive
- From: Trygve Inda <email@hidden>
- Date: Fri, 30 Jan 2015 10:08:38 -0800
- Thread-topic: copyWithZone archive/unarchive
> On Jan 30, 2015, at 7:26 AM, Trygve Inda <email@hidden> wrote:
>
>>>
>>>> On Jan 29, 2015, at 9:44 PM, Trygve Inda <email@hidden> wrote:
>>>>
>>>> However, naming conventions expect copy to not
>>>> be autoreleased so should the above really be:
>>>>
>>>> return ([copy retain]);
>>>
>>> Yes, if you're really still not using ARC ;-)
>>>
>>> —Jens
>>
>> I am not using ARC - this is a large project that has existed for a long
>> time and I see no reason to change it.
>
> Just wanted to point out that you can adopt ARC on a per-file basis. Switching
> back and forth between them can be a bit of a mind bender, but that may be
> preferable to devoting a chunk of time to a wholesale conversion.
Do you see non-ARC code becoming obsolete? I could probably start moving it
to ARC slowly but it is hard to justify time spent on something that is not
really needed. I have not run into any serious bugs or unexplained crashes
due to messed up retain/release. (touching wood of course).
T.
_______________________________________________
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