Introduction to SwiftUI

Jun 20 2024 · Swift 5.10, iOS 17.3, Xcode 15.3

Lesson 02: Understanding Modifiers, State & Binding

State & Binding: Hands-On Demo

Episode complete

Play next episode

Next

Heads up... You’re accessing parts of this content for free, with some sections shown as obfuscated text.

Heads up... You’re accessing parts of this content for free, with some sections shown as obfuscated text.

Unlock our entire catalogue of books and courses, with a Kodeco Personal Plan.

Unlock now

Intro

@State private var selectedAge: Double = 100
Slider(value: $selectedAge, in: 0...255)
Text(selectedAge, format: .number.precision(.fractionLength(0)))
See forum comments
Cinema mode Download course materials from Github
Previous: State & Binding Next: Conclusion