Userdefault
Userdefault, in the context of Apple platforms, refers to the user defaults system, a persistent key-value store used by apps to save user preferences, settings, and other small pieces of data. Known most commonly as UserDefaults (and historically NSUserDefaults), it provides a simple interface for storing basic data and automatically persists changes between launches. The storage is isolated to each app and its extensions, unless configured to share data via app groups.
The user defaults database is designed for property list compatible data types. Typical stored values include
Common operations include reading and writing values via a central defaults object (for example, the standard
Limitations include the small data scope and lack of suitability for large datasets or secure storage. For