• 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: Newbie question on saving data
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >Re: Newbie question on saving data (From: Steve Gran <email@hidden>)

  • Prev by Date: Re: Overriding -copyWithZone: the right way
  • Next by Date: Re: non-72dpi image looks strange after saving
  • Previous by thread: Re: Newbie question on saving data
  • Next by thread: Re: Newbie question on saving data
  • Index(es):
    • Date
    • Thread