• 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: how to write on disk
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how to write on disk


  • Subject: Re: how to write on disk
  • From: Martin <email@hidden>
  • Date: Tue, 4 Mar 2008 16:13:01 +0100

Why don't you wrap your data in an NSDictionary or an NSArray and use the writeToFile:atomically: method to write the data in a file?

-Martin


Le 4 mars 08 à 15:50, norio a écrit :
Hi,

I think I understand how to write data on a disk using archive and serialization mechanism, but how about this case?

I just want to write a short value, a long value and a double value in this order. I don't want to write anything but them.
And I'd like to use document-based application to write the data onto a disk.


Any suggestions would be welcomed.

Thank you,
Norio Ota
_______________________________________________

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

_______________________________________________

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: 
 >how to write on disk (From: norio <email@hidden>)

  • Prev by Date: how to write on disk
  • Next by Date: Re: how to write on disk
  • Previous by thread: how to write on disk
  • Next by thread: Re: how to write on disk
  • Index(es):
    • Date
    • Thread