• 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 07:26:01 -0800
  • Thread-topic: copyWithZone archive/unarchive

>
>> 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.





_______________________________________________

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: Kyle Sluder <email@hidden>
References: 
 >Re: copyWithZone archive/unarchive (From: Jens Alfke <email@hidden>)

  • Prev by Date: Re: Subclassing NSControl and inheritance of target, action properties
  • Next by Date: Program Crash
  • Previous by thread: Re: copyWithZone archive/unarchive
  • Next by thread: Re: copyWithZone archive/unarchive
  • Index(es):
    • Date
    • Thread