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

Reading values from XML file


  • Subject: Reading values from XML file
  • From: Lorenzo <email@hidden>
  • Date: Sun, 02 Apr 2006 23:05:59 +0200

Hi,
I read a txt file from a disk then set many objects. It is pretty fast using
the structure here below.
Then I have to save a custom version of this object to my custom file.
So I though to save the objects in an NSMutableArray containing various
NSMutableDictionary. 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?

typedef struct {
    char               name[20];
    int                rec_qty;
    int                fields_qty;
    rec_type           *recs;
    fields_type        *fields;
    fieldRect_type     *fieldRect;
    // etc. etc.
} rObj, *rObjPtr;




Best Regards
--
Lorenzo
email: email@hidden

 _______________________________________________
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: Reading values from XML file
      • From: Uli Kusterer <email@hidden>
    • Re: Reading values from XML file
      • From: Jerry Krinock <email@hidden>
  • Prev by Date: Re: Weirdness in my PowerBook... Now reproducible
  • Next by Date: Re: Cocoa-dev Digest, Vol 3, Issue 420
  • Previous by thread: Re: Tiger Intel AS Studio, eSellerate Integrated to Embedded transition
  • Next by thread: Re: Reading values from XML file
  • Index(es):
    • Date
    • Thread