• 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: Scott Stevenson <email@hidden>
  • Date: Mon, 8 Nov 2004 19:22:12 -0800


On Nov 8, 2004, at 6:07 PM, Steve Gran wrote:

So do I use this method within the dataRepresentationOfType:(NSString *)aType method?

NSPropertyListSerialization is actually a class, but yes. That said, I doubt it alone is what you're looking for. It might be one piece.



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.

I understand what your goal is, but I'd have to know more about what Excel wants to answer it more thoroughly. The fact that two apps "read" XML doesn't necessarily mean anything. Unless you write data using Excel's DTDs, it's a moot point.


Your best bet here is to research Excel's needs before tackling the Cocoa side. You might also be able to do it with CSV or something.

Here's a thread that would probably interest you:
http://cocoa.mamasam.com/MACOSXDEV/2003/01/2/54753.php


- Scott


-- http://treehouseideas.com/ http://theobroma.treehouseideas.com/ [blog]

_______________________________________________
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: memory management (perhaps naive) question
  • Next by Date: Re: image drawing glitch
  • Previous by thread: Re: Newbie question on saving data
  • Next by thread: Re: Newbie question on saving data
  • Index(es):
    • Date
    • Thread