SwiftUI for Production
summary
built the RayWenderlich iOS app with SwiftUI and implements a content-filter UI, but shows concrete pitfalls: binding to array elements causes crashes, enumerated ForEach is fragile, and environment/observed objects act like singletons. The implementation experiments with @State, @Binding, @ObservedObject and @EnvironmentObject, hits compiler/Apple bugs, then abandons deep bindings and replaced bindings with callbacks to mutate filter state safely; the final filter list works reliably after that change.
AI-written summary · about
chapters (6)
- 0:00Start
- 3:27Content Filtering
- 9:37Filters
- 12:27Editable Filters
- 17:07Accessing State outside View Body
- 23:50What We'Ve Learned








