• 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: 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


  • Follow-Ups:
    • Re: Newbie question on saving data
      • From: "John C. Randolph" <email@hidden>
    • Re: Newbie question on saving data
      • From: "M. Uli Kusterer" <email@hidden>
    • Re: Newbie question on saving data
      • From: Scott Stevenson <email@hidden>
  • Prev by Date: Re: Getting the desktop background
  • Next by Date: NSView lockFockus assertion?
  • Previous by thread: Re: Newbie question on saving data
  • Next by thread: Re: Newbie question on saving data
  • Index(es):
    • Date
    • Thread