• 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: Reading values from XML file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Reading values from XML file


  • Subject: Re: Reading values from XML file
  • From: Jerry Krinock <email@hidden>
  • Date: Sun, 02 Apr 2006 14:30:46 -0700
  • Thread-topic: Reading values from XML file

on 06/04/02 14:05, Lorenzo at email@hidden wrote:

> The problem is that when I reopen my custom file, it
> takes so long time to read the NSMutableArray, get each dictionary,
> transform the NSString to NSRect etc. etc.
> So, is any other faster way to save my objects to my custom file?

I think the normal way to do this is to convert your array to an NSData
using NSPropertyListSerialization.  This works, as you say, "pretty fast",
for me.  But be careful that all objects, and all child objects within the
array to be serialized are one of the object types supported for
serialization.


 _______________________________________________
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: 
 >Reading values from XML file (From: Lorenzo <email@hidden>)

  • Prev by Date: Re: Cocoa-dev Digest, Vol 3, Issue 420
  • Next by Date: Re: Weirdness in my PowerBook... Now reproducible
  • Previous by thread: Reading values from XML file
  • Next by thread: Re: Reading values from XML file
  • Index(es):
    • Date
    • Thread