Re: plist parsing in c
Re: plist parsing in c
- Subject: Re: plist parsing in c
- From: Keith Duncan <email@hidden>
- Date: Sun, 06 Jul 2008 20:12:28 +0100
Note that plist have 3 formats, text, xml, and binary.
That's true, but there's actually a bigger problem at hand here which
I previously overlooked.
located inside the file /Library/Preferences/
com.apple.xgrid.agent.plist
I failed to pick this one up earlier, you shouldn't be assuming what
format the preferences are written out in; in the future they might
not even be in PLIST format. This is an implementation detail and much
like how installer receipts have been migrated into a database;
preferences might also be stored in a radically different format
sometime soon.
The only reliable* way to access system preferences is through the
CFPreferences API which NSUserDefaults is built on.
Keith Duncan
email@hidden, 33software.com
*remember that each preference domain is liable to change, they aren't
public unless declared so
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden