NSUserDefaults

suggest change

Syntax

This is Swift 3. dic must already be a property-list value. UserDefaults stores property-list types such as string, data, date, number, array, and dictionary. The cast has to match what was stored; otherwise the read becomes an empty dictionary.

Remarks

UserDefaults can be read from anywhere in the app. It is not a general object database. NSUserDefaults

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents