Jan 3, 2024
First content example shows
@ObservedObject var userData = UserData()
Should NEVER do this. Should be StateObject as mentioned earlier.
ForEach example would have been better discussing making content conform to Identifiable.
First content example shows
@ObservedObject var userData = UserData()
Should NEVER do this. Should be StateObject as mentioned earlier.
ForEach example would have been better discussing making content conform to Identifiable.
I write about Apple, Swift, and SwiftUI in particular, and technology in general. I'm also a Lead iOS Engineer at InRhythm, a modern digital consulting firm.