• 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: NSUserDefaults and mutability
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSUserDefaults and mutability


  • Subject: Re: NSUserDefaults and mutability
  • From: Nick Zitzmann <email@hidden>
  • Date: Sat, 8 Mar 2008 21:29:41 -0700


On Mar 8, 2008, at 6:16 PM, Jens Alfke wrote:

Don't rely on this; it's entirely possible this behavior could change in the future, causing your app to throw an exception. Something much like that happened in 10.4 (I think) — maybe it was the mutability of collections read from property lists — and broke a bunch of apps.


You're close. Values returned by NSUserDefaults were mutable in Panther and earlier; they were made immutable in Tiger, and this caused a lot of apps to break.

Nick Zitzmann
<http://www.chronosnet.com/>

_______________________________________________

Cocoa-dev mailing list (email@hidden)

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


References: 
 >NSUserDefaults and mutability (From: Trygve Inda <email@hidden>)
 >Re: NSUserDefaults and mutability (From: Jens Alfke <email@hidden>)

  • Prev by Date: Re: ShortWeekNames
  • Next by Date: How to create the slider switch in the time machine preference panel in system preferences?
  • Previous by thread: Re: NSUserDefaults and mutability
  • Next by thread: Re: NSUserDefaults and mutability
  • Index(es):
    • Date
    • Thread