Share this page

by Arthur Knopper
Swift Version: 1.0

With the NSUserDefaults 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 built in iOS 8 and Xcode 6.1

© 2015 SoSoSwift. Blog · About · Contact · Privacy policy · Terms of service · RSS