UserDefaults iOS Tutorial

UserDefaults iOS Tutorial

With the UserDefaults class, you can save settings and properties related to application or user data. Any data saved to the defaults system will persist through application restarts. In this tutorial we will save the state of a switch, so this state is saved when the app restarts. This tutorial is made with Xcode 10 and built for iOS 12.

Read More