Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Preferences file in Tiger




On May 3, 2005, at 7:19 AM, Todd Blanchard wrote:

How is "binary" plist different from "classic" plist (which I prefer and seemed about as small as you could make it, yet remained vi friendly)?

...one is in binary and the other is in UTF-8 XML. They are vi friendly with a simple use of a conversion tool, heck on a Mac OS X you could use a little piping magic and be done with it.


The following is from this page...
<http://developer.apple.com/releasenotes/CoreFoundation/ CoreFoundation.html>
CFPreferences property list change (Section added since WWDC)


In Tiger, CFPreferences now writes out its property lists in the binary plist format. Panther will read these plists without modification, although it will write plists as XML. The binary format is smaller in all cases - for preferences plists that have structures like arrays of dictionaries where each dictionary has the same keys, the new plist on disk may be 2 or 3 times smaller.

You can share a home directory between Tiger and Panther without issue. Should you need to rewrite a plist manually for some reason you can either convert the plist using plutil(1) or just open it up and edit it using the Property List Editor application.

-Shawn
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >Preferences file in Tiger (From: "Pradeep Kumar" <email@hidden>)
 >Re: Preferences file in Tiger (From: Ali Ozer <email@hidden>)
 >Re: Preferences file in Tiger (From: Todd Blanchard <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.