• 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
New NSPropertyListSerialization in 5.4
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

New NSPropertyListSerialization in 5.4


  • Subject: New NSPropertyListSerialization in 5.4
  • From: Alexander Spohr <email@hidden>
  • Date: Mon, 10 Dec 2007 14:40:26 +0100

Hi List,

can someone confirm that NSPropertyListSerialization changed its behavior in 5.4?

In 5.3 dictionaryForString(String value) returned every value as String:
<true />
<integer>123</integer>
<date>2007-12-24 18:00:00.00 MET</date>

Since 5.4 it changed behavior to interpret the values as I had expected it long ago:
<true /> becomes Boolean
<integer>123</integer> becomes BigInteger (why Big?)
<date>2007-12-24 18:00:00.00 MET</date> becomes NSTimestamp


So be aware that this might break your apps if you depend on parsing values yourself.
I used Boolean.valueOf((String)aPListObject) which breaks with 5.4 (CCE).



atze

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: New version of the podcasts
  • Next by Date: Re: EO Caching
  • Previous by thread: Re: New version of the podcasts
  • Next by thread: Seattle - dBug Internet/WebObjects Development SIG Meeting Tonight
  • Index(es):
    • Date
    • Thread