~/talk

The SwiftUI Mindset: 5 Key Ideas to Avoid Common Pitfalls

slides:none on file

Five concrete rules for reliable SwiftUI: split large view bodies into tiny view structs so updates are fine‑grained; pass only the data a child needs and prefer reference sharing with the observable macro (not ObservableObject + @Published) for granular updates; avoid storing closures on views or use an equatable view wrapper to prevent constant diffs; keep initializers cheap and run network work in a task modifier; and give lists stable IDs and avoid creating different view types via if/else so identity and animations remain stable.

AI-written summary · about

  1. 0:00Introduction
  2. 0:51SwiftUI mindset
  3. 2:24Compositional views
  4. 6:17Data dependencies
  5. 11:26View diffing
  6. 16:14Cheap initializers
  7. 17:45Stable identity
  8. 20:49Explicit identity
  9. 22:13Summary and resources
  10. 24:38Q&A
~/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.