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 - When is it written to disk?
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
]
Re: NSUserDefaults - When is it written to disk?
Subject
:
Re: NSUserDefaults - When is it written to disk?
From: "M. Uli Kusterer" <
email@hidden
>
Date: Sat, 4 Dec 2004 08:11:14 +0100
At 9:17 Uhr -0500 03.12.2004, Jeremy French wrote:
When are UserDefaults written to the plist document?
Basically, when something has been changed in them. Read the docs (or Hillegass): You register some "default defaults". Since these are provided by your app at startup, NSUserDefaults doesn't need to write them to disk. That's good, because it saves the user disk space.
I guess the text-field-tabbing behavior is a case where the app you're observing reacts to a field being left by saving its value to the prefs, which looks to NSUserDefaults like a change, even though it's the same value. That's why it's saved.
--
Cheers,
M. Uli Kusterer
------------------------------------------------------------
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
References:
>
NSUserDefaults - When is it written to disk?
(From: Jeremy French <email@hidden>)
Prev by Date:
Re: compositing views into one window
Next by Date:
Re: Building a command line tool that calls DotMacKit
Previous by thread:
Re: NSUserDefaults - When is it written to disk?
Next by thread:
compositing views into one window
Index(es):
Date
Thread