How to Save Data with UserDefaults - Swift

Поділитися
Вставка
  • Опубліковано 11 вер 2024
  • In this tutorial we walk through the basics of saving data using UserDefaults is Swift. We'll discuss what types of data you can save, some of the security issues involved, and how to make it all happen. In this example, we'll store a light or dark mode preference, as well as the name of a pet as a String. This tutorial was done in Swift 4.2 and Xcode 10.
    If you like my teaching style, I've released my first iOS dev course which is all about the take-home project job interview for iOS developers.
    Course Info - seanallen.teac...
    Source Code (Xcode 10, Swift 4.2):
    www.dropbox.co...
    How I Became an iOS Developer:
    gumroad.com/l/...
    Check out my podcast, iOS Dev Discussions:
    itunes.apple.c...
    Book and learning recommendations that help out the channel if you decide to purchase (Affiliate Links):
    Ray Wenderlich Books:
    store.raywende...
    Ray Wenderlich Videos:
    store.raywende...
    Paul Hudson's Hacking With Swift:
    gumroad.com/a/...
    Learn Advanced Swift Here:
    gumroad.com/a/...
    Links to my Developer & UA-cam Setup
    www.amazon.com...
    Personal Links:
    Twitter:
    / seanallen_dev
    Instagram:
    @seanallen_dev
    Website:
    seanallen.co

КОМЕНТАРІ • 154