FROM : Martin
DATE : Tue Mar 04 16:13:01 2008
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_removed>)
>
> 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:
> http://lists.apple.com/mailman/options/cocoa-dev/martin.<email_removed>
>
> This email sent to martin.<email_removed>
DATE : Tue Mar 04 16:13:01 2008
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_removed>)
>
> 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:
> http://lists.apple.com/mailman/options/cocoa-dev/martin.<email_removed>
>
> This email sent to martin.<email_removed>
| Related mails | Author | Date |
|---|---|---|
| norio | Mar 4, 15:50 | |
| Martin | Mar 4, 16:13 | |
| Jean-Daniel Dupas | Mar 4, 16:15 |






Cocoa mail archive

