• 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: to write to file except NSData*
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: to write to file except NSData*


  • Subject: Re: to write to file except NSData*
  • From: Alastair Houghton <email@hidden>
  • Date: Tue, 15 Apr 2008 16:00:44 +0100

On 15 Apr 2008, at 15:49, Nick Rogers wrote:

I will use NSKeyedArchiver to create a lot of NSData objects before writing to file.
I can't write one whole NSData to file because i have to write in GBs and also have to show the progress bar.

So just use NSKeyedArchiver to generate a header before each of the larger NSData objects (for instance).


Or fill in an NSMutableData yourself, but if you do that you have to handle endianness somehow.

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


  • Follow-Ups:
    • Re: to write to file except NSData*
      • From: Navneet Kumar <email@hidden>
References: 
 >to write to file except NSData* (From: Nick Rogers <email@hidden>)
 >Re: to write to file except NSData* (From: Thomas Backman <email@hidden>)
 >Re: to write to file except NSData* (From: Nick Rogers <email@hidden>)

  • Prev by Date: Re: Subclassing NSArrayController
  • Next by Date: Re: is this badly written code?
  • Previous by thread: Re: to write to file except NSData*
  • Next by thread: Re: to write to file except NSData*
  • Index(es):
    • Date
    • Thread