Re: Newbie question on saving data
Re: Newbie question on saving data
- Subject: Re: Newbie question on saving data
- From: Steve Gran <email@hidden>
- Date: Mon, 8 Nov 2004 18:07:11 -0800
>You can generate XML data using NSPropertyListSerialization:
>
>NSPropertyListSerialization
>http://developer.apple.com/documentation/Cocoa/Reference/Foundation/
>ObjC_classic/Classes/NSPropertyListSerialztion.html
>
>Use NSPropertyListXMLFormat_v1_0 as the format.
Wow, now I'm really confused. I guess that's what I get for being a
newbie trying to learn programming.
:)
So do I use this method within the dataRepresentationOfType:(NSString
*)aType method?
I was sort of hoping that there was some easier save and load method
that I could use that would take my array and just save it to a text
file in ASCII or something that I could just as easily import to excel.
And then import back into my Cocoa app.
Because I'm so new to programming (and just learning it as a hobby) I'm
probably not explaining myself well enough. But I was really hoping I
could save data in the same "look at feel" the data shows up in my
TableView.
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).
_______________________________________________
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