• 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: Plan E from Outer Space
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Plan E from Outer Space


  • Subject: Re: Plan E from Outer Space
  • From: Philip Aker <email@hidden>
  • Date: Thu, 18 Jun 2009 01:41:15 -0700

On 2009-06-18, at 00:54:04, John Baltutis wrote:

See <http://prowiki.isc.upenn.edu/wiki/Manipulating_Plists> for a good write up on defaults, plists, and PlistBuddy.

NB: this article needs a few corrections. For instance the statement:

"The old-style is depreciated and you will not find it in a file, but many of the tools still display it and read it."

is not entirely accurate.


1. These so-called "old-style" property lists are used extensively in Xcode, including its own project file format and .xcconfig files. This format is unlikely to become obsolete in the near future because the simplest expression:


// My xcconfig
#include "other.xcconfig"
"key1" = "value1";
"key2" = "value2";

can be used by various excellent but non-XML capable developer tools.


2. Old-style plists come in several flavors: The "ASCII" type is the inherited NeXT type (and will handle MacRoman (NeXT?) encoded text up to the 255th slot). Other types are UTF-8 encoded with "// !$*UTF8*$!" on the first line (note the C++ style comment capability) and .strings files which applications use for localized strings. These last may be in one or another of the Unicode encodings.



3. If it was true, the term would be "deprecated", not "depreciated" :-)


Philip Aker echo email@hidden@nl | tr a-z@. p-za-o.@

Democracy: Two wolves and a sheep voting on lunch.

_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden
References: 
 >Re: Plan E from Outer Space (From: John Baltutis <email@hidden>)

  • Prev by Date: Re: Plan E from Outer Space
  • Next by Date: Re: Plan E from Outer Space
  • Previous by thread: Re: Plan E from Outer Space
  • Next by thread: Re: Plan E from Outer Space
  • Index(es):
    • Date
    • Thread