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 PROTECTED], 33software.com

*remember that each preference domain is liable to change, they aren't public unless declared so
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to