Reading values from XML file
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