~/talk

SwiftUI Performance for Demanding Apps

Talkat SwiftLeeds 2023 · 2023-10-09..10-10· [ios, swift]
speakerdeck:avielg
slides:none on file

Adobe Bēhance rebuilds navigation infra and the main Feed in SwiftUI and targets iPhone 6S Plus while keeping the app at 60fps. Focuses on concrete techniques: avoid redundant view diffing by keeping bodies trivial, prefer no-effect modifiers (opacity 0/1) over conditional branching so lists remain lazy, split state into subviews to limit re-diffs, and make heavy views POD views so SwiftUI uses MCompare or Equatable instead of slow reflection.

AI-written summary · about

  1. 0:00Introduction and welcome
  2. 2:26SwiftUI philosophy explained
  3. 9:58State and view separation
  4. 12:06Keep view bodies simple
  5. 15:23Avoid conditional views
  6. 19:16View size and list performance
  7. 22:05Split state into subviews
  8. 23:53POD and equality for performance
  9. 31:59Summary and best practices
~/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.