Swift 3: Audible - UserDefaults to Save Logged In State (Ep 10)

Profile Picture
- Published on Oct 5, 2016馃審 Public

We'll be going over how to use UserDefaults to save data on the device today. Whenever a user logs in, we'll keep track of this information using a boolean and a key that we'll store inside of UserDefaults. Doing so will allow us a clean way to load our initial view based on the information we have about our user. As a bonus, let's go over a more robust way of saving things into UserDefaults by introducing an Enumeration for our string keys. Enjoy. Completed Source Code https://www.letsbuildthatapp.com/cour... Previous Episode 9: https://youtu.be/Ldz-J7Xrk28 Want to learn more about iOS Development? Here are a few additional playlist resources on my channel: Lets Build AppStore series: https://www.youtube.com/playlist?list... Lets Build Facebook Feed series: https://www.youtube.com/playlist?list... Lets Build Facebook Messenger series: https://www.youtube.com/playlist?list... Follow me on Twitter: https://twitter.com/buildthatapp