• 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: Jens Alfke <email@hidden>
  • Date: Thu, 29 Jan 2015 22:39:27 -0800

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

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

  • Prev by Date: Re: Modifying row rect indent in NSOutlineView
  • Next by Date: Re: Modifying row rect indent in NSOutlineView
  • Previous by thread: copyWithZone archive/unarchive
  • Next by thread: Re: copyWithZone archive/unarchive
  • Index(es):
    • Date
    • Thread