Using and Testing User Defaults in Swift
Knowing when to use it is important!
User defaults are an important way to store small pieces of data in your application.
The implementation of UserDefaults
Remember that UserDefaults
is called defaults since they usually refer to the App’s default state at startup or the default behaviour of the…