Re: Newbie question on saving data
Re: Newbie question on saving data
- Subject: Re: Newbie question on saving data
- From: "M. Uli Kusterer" <email@hidden>
- Date: Tue, 9 Nov 2004 14:54:13 +0100
At 18:07 Uhr -0800 08.11.2004, Steve Gran wrote:
But when I have data like this:
Name Age
John Doe 24
Bill Jones 33
I want to be able to somehow get it saved like that (i.e., human
readable format).
Then why did you ask for XML? ;-)
Well, you can always manually export your data to
tab-and-return-delimited text. Just loop over all your items (NSArray
-objectEnumerator is your friend) and append their data to an
NSMutableString, inserting tabs and returns as needed, and then you
can get NSData from that string.
--
Cheers,
M. Uli Kusterer
------------------------------------------------------------
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden