• 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: Kyle Sluder <email@hidden>
  • Date: Fri, 30 Jan 2015 08:56:11 -0800

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.

--Kyle Sluder

_______________________________________________

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: Trygve Inda <email@hidden>
References: 
 >Re: copyWithZone archive/unarchive (From: Trygve Inda <email@hidden>)

  • Prev by Date: [no subject]
  • 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