dataFromPropertyList:format:errorDescription:
dataFromPropertyList:format:errorDescription:
- Subject: dataFromPropertyList:format:errorDescription:
- From: Steve Mykytyn <email@hidden>
- Date: Wed, 24 Sep 2003 12:52:20 -0700
I'm saving some application-wide "bookmark" data (NSMutableArray,
NSMutableDictionary, etc. in a tree and leaf structure) using
[NSPropertyListSerialization dataFromPropertyList: ...
and I read it back in when my application starts up using
[NSArray arrayWithContentsOfFile:plistPath]
It seems like the arrays and dictionaries I read back in are mutable -
which is what I want, but not what the Cocoa documentation seems to
imply.
Am I likely to get in trouble with this approach? - or put another way,
should I be using
[NSPropertyListSerialization
propertyListFrom
Data:mutabilityOption:format:errorDescription:
with the mutability option set to NSPropertyListMutableContainers?
_______________________________________________
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.