~/talk

SwiftUI for Production

Talkat try! Swift NYC 2019 · 2019-09-09..09-10· [swift]

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

  1. 0:00Start
  2. 3:27Content Filtering
  3. 9:37Filters
  4. 12:27Editable Filters
  5. 17:07Accessing State outside View Body
  6. 23:50What We'Ve Learned
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.