• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Preferences file in Tiger
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Preferences file in Tiger


  • Subject: Re: Preferences file in Tiger
  • From: Shawn Erickson <email@hidden>
  • Date: Tue, 3 May 2005 08:18:31 -0700


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:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Preferences file in Tiger
      • From: Finlay Dobbie <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>)

  • Prev by Date: CoreData: Data freshness vs. multithreading
  • Next by Date: Re: ditto in ObjC or C
  • Previous by thread: Re: Preferences file in Tiger
  • Next by thread: Re: Preferences file in Tiger
  • Index(es):
    • Date
    • Thread