• 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 not sticking
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSUserDefaults not sticking


  • Subject: Re: NSUserDefaults not sticking
  • From: Todd Heberlein <email@hidden>
  • Date: Wed, 10 Sep 2014 09:15:13 -0700

> in the past few years when it's happened it's been an early symptom of filesystem corruption. Sometimes there have been a bunch of leftover temporary lock(?) files in the Preferences directory.
>
> If you're getting reports of this from users of your app, it might be worth asking them to run Disk First Aid.

I’ve run into this problem during software development (can’t recall for shipping apps). Since it is just during development, I trash the preferences file for the app and the problem usually goes away.

(I’m wondering if the file contents became corrupted)

Todd


_______________________________________________

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


  • Follow-Ups:
    • Re: NSUserDefaults not sticking
      • From: Kyle Sluder <email@hidden>
References: 
 >NSUserDefaults not sticking (From: "Rick C." <email@hidden>)
 >Re: NSUserDefaults not sticking (From: Graham Cox <email@hidden>)
 >Re: NSUserDefaults not sticking (From: "Rick C." <email@hidden>)
 >Re: NSUserDefaults not sticking (From: Jens Alfke <email@hidden>)

  • Prev by Date: Re: How to set UILabel height to even multiple of line height with auto-layout?
  • Next by Date: Re: NSUserDefaults not sticking
  • Previous by thread: Re: NSUserDefaults not sticking
  • Next by thread: Re: NSUserDefaults not sticking
  • Index(es):
    • Date
    • Thread