Re: getting a plist into a dictionary?
Re: getting a plist into a dictionary?
- Subject: Re: getting a plist into a dictionary?
- From: Charles Srstka <email@hidden>
- Date: Wed, 17 Dec 2003 22:41:32 -0600
NSDictionary *dict = [NSDictionary
dictionaryWithContentsOfFile:filePath];
Or, look into the NSPropertyListSerialization class.
Charles
On Dec 17, 2003, at 10:22 PM, Steve Christensen wrote:
I'm playing with my document class's
-loadFileWrapperRepresentation:ofType: method (the document is a
package) and am getting stuck. Starting with the NSFileWrapper for the
document, I have located the wrapper for the document's info.plist
file. Once I have it, though, how can I take that wrapper's NSData and
use it to generate a NSDictionary?
steve
_______________________________________________
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.
_______________________________________________
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.