SwiftUI Fundamentals, Episode 14: State & State Objects | raywenderlich.com

@State only works with value types, but it does have a companion specifically for reference types: @StateObject.


This is a companion discussion topic for the original entry at https://www.raywenderlich.com/28684524-swiftui-fundamentals/lessons/14