• 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
copy and mutableCopy
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

copy and mutableCopy


  • Subject: copy and mutableCopy
  • From: Dave <email@hidden>
  • Date: Sun, 27 Apr 2014 10:00:33 +0100

Hi All,

A long time back, I remember reading something about the way in which copy and mutableCopy are implemented. I think basically it said that:

someObject = [someOtherObject copy];

or

someObject = [someOtherObject mutableCopy];

Wouldn’t necessarily allocate any extra data storage. I’ve been searching for it to refresh my memory, but I can’t see to find it anywhere. Does anyone know if this document or something like it exists somewhere?

Thanks a lot
Dave


_______________________________________________

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: copy and mutableCopy
      • From: Willeke <email@hidden>
    • Re: copy and mutableCopy
      • From: ChanMaxthon <email@hidden>
    • Re: copy and mutableCopy
      • From: Dave <email@hidden>
    • Re: copy and mutableCopy
      • From: John McCall <email@hidden>
  • Prev by Date: Re: SpriteKit junk
  • Next by Date: Re: copy and mutableCopy
  • Previous by thread: Re: SpriteKit junk
  • Next by thread: Re: copy and mutableCopy
  • Index(es):
    • Date
    • Thread