Re: getting a plist into a dictionary?
Re: getting a plist into a dictionary?
- Subject: Re: getting a plist into a dictionary?
- From: Scott Anguish <email@hidden>
- Date: Thu, 18 Dec 2003 01:26:09 -0500
On Dec 17, 2003, at 11:41 PM, Charles Srstka wrote:
NSDictionary *dict = [NSDictionary
dictionaryWithContentsOfFile:filePath];
that won't work because he's dealing with the data returned by an
NSFileWrapper (wow, I've not looked at those in a long time!)
Or, look into the NSPropertyListSerialization class.
specifically
http://developer.apple.com/documentation/Cocoa/Reference/Foundation/
ObjC_classic/Classes/NSPropertyListSerialztion.html#//apple_ref/doc/
uid/20000942/BAJIIGDC
+ propertyListFrom
Data:mutabilityOption:format:errorDescription:
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.