/SwiftUI-UserDefaults-Demo

A demonstration of UserDefualts with SwiftUI

Primary LanguageSwift

SwiftUI + UserDefaults Demo

A demonstration of UserDefaults with SwiftUI

Screenshot

About

A demonstration of UserDefualts with SwiftUI

This demo app has:

  • Uses a Tab View:
    • Home View
    • Settings View uses Form with sections
  • Utilises UserDefualts to store settings.

Requirements

  • Xcode 11 or newer
  • Swift 5.1 or newer

Optional

  • iPhone running iOS 13 or newer.

How To Use

⚠️ This app is not available on the App Store.

  1. Clone or download the project to your local machine
  2. Open the project in Xcode
  3. Run in Xcode Simulator or on a iPhone running iOS 13 or newer.