• 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: More GC. Now with NSData
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: More GC. Now with NSData


  • Subject: Re: More GC. Now with NSData
  • From: Alastair Houghton <email@hidden>
  • Date: Mon, 26 Nov 2007 20:50:35 +0000

On 26 Nov 2007, at 20:38, Paul Sargent <email@hidden> wrote:

Just to be clear, -subdataWithRange will make a copy of the data into it's own buffer, which the new NSData will own. Hence it'll be safe. Right?

It might not make an actual copy if you're using an immutable NSData, but that's an implementation detail. The important thing is that it will be safe.


Kind regards,

Alastair

--
http://alastairs-place.net

_______________________________________________

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: 
 >More GC. Now with NSData (From: Paul Sargent <email@hidden>)
 >Re: More GC. Now with NSData (From: Alastair Houghton <email@hidden>)
 >Re: More GC. Now with NSData (From: Paul Sargent <email@hidden>)

  • Prev by Date: Re: More GC. Now with NSData
  • Next by Date: Re: Core Data and RDBs
  • Previous by thread: Re: More GC. Now with NSData
  • Next by thread: Re: NSStatusItem position problem
  • Index(es):
    • Date
    • Thread