• 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: Persistent User Defaults
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Persistent User Defaults


  • Subject: Re: Persistent User Defaults
  • From: Nathan Day <email@hidden>
  • Date: Mon, 30 Apr 2018 21:52:05 +1200

Thats not completely correct modifying the preferences file directly or
deleting it can take a while for the user defaults process to pick up the
change, but you can force the user defaults process to pick up the changes with

killall cfprefsd

it can be a little bit complicated sometimes and the process can write out
changes before you kill it, so sometime you have to kill make you change and
then kill again.



> On 25 Apr 2018, at 3:42 am, Richard Charles <email@hidden> wrote:
>
> On macOS an applications user defaults are stored in a preference plist file
> located in ~/Library/Preferences.
>
> If this file is deleted, user preferences for the application still persist
> until the machine is rebooted. In other words if you want to start with a
> clean set of user preferences not only must you delete the preference plist
> file but you must also restart the machine.

_______________________________________________

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: Persistent User Defaults
      • From: Alex Zavatone <email@hidden>
References: 
 >Persistent User Defaults (From: Richard Charles <email@hidden>)

  • Prev by Date: AU plugins not being validated by Logic until OSX High sierra is restarted
  • Next by Date: Re: Persistent User Defaults
  • Previous by thread: Re: Persistent User Defaults
  • Next by thread: Re: Persistent User Defaults
  • Index(es):
    • Date
    • Thread