• 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: copyWithZone archive/unarchive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: copyWithZone archive/unarchive
      • From: Jerry Krinock <email@hidden>
References: 
 >Re: copyWithZone archive/unarchive (From: Kyle Sluder <email@hidden>)

  • Prev by Date: NSCalendar and NSDates prior to October 15, 1582
  • Next by Date: Re: How to avoid user interaction in WebView
  • Previous by thread: Re: copyWithZone archive/unarchive
  • Next by thread: Re: copyWithZone archive/unarchive
  • Index(es):
    • Date
    • Thread