• 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: NSMutable setArray Behavior
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSMutable setArray Behavior


  • Subject: Re: NSMutable setArray Behavior
  • From: Seth Willits <email@hidden>
  • Date: Tue, 20 Apr 2010 13:18:09 -0700

On Apr 20, 2010, at 1:06 PM, Brent Fulgham wrote:

> Can anyone clarify whether the NSMutableArray object's "setArray"
> performs a deep copy of the NSArray provided,
> or does it simply build an NSMutableArray object with
> additionally-retained elements pointing back to the source object?

setArray: is equivalent to removeAllObjects and addObjectsFromArray:


--
Seth Willits



_______________________________________________

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

References: 
 >NSMutable setArray Behavior (From: Brent Fulgham <email@hidden>)

  • Prev by Date: NSMutable setArray Behavior
  • Next by Date: Re: NSMutable setArray Behavior
  • Previous by thread: NSMutable setArray Behavior
  • Next by thread: Re: NSMutable setArray Behavior
  • Index(es):
    • Date
    • Thread