NSDictionary writeToFile without going to disk?
NSDictionary writeToFile without going to disk?
- Subject: NSDictionary writeToFile without going to disk?
- From: Tito Ciuro <email@hidden>
- Date: Sun, 19 Mar 2006 10:01:29 -0800
Hello,
I know I can store a dictionary and read it back using:
- (BOOL)writeToFile:(NSString *)path atomically:(BOOL)flag
+ (id)dictionaryWithContentsOfFile:(NSString *)path
I need to store the dictionary plist in a DB for later retrieval (and
thus recreating the dictionary), so I'm afraid this mechanism will be
slow if I have to store lots of them.
Is there a way to do the same on-the-fly, that is, without having to
go to disk?
Thanks,
-- Tito
_______________________________________________
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