~/talk

SwiftUI Performance for Demanding Apps

Talkat 360iDev 2022 · 2022-08-28..08-31· [web-performance]
speakerdeck:avielg
slides:none on file

Compares SwiftUI to UIKit and gives concrete tactics used when Adobe Bēhance rebuilt navigation infra and main Feed so the app runs well even on an iPhone 6S Plus. Shows measurable wins: reduce redundant diffing, split dependencies from state, prefer memcmp or EquatableView over slow reflection, use StateObject vs ObservedObject correctly, debug with _printChanges, and avoid heavy work in body so the Feed sustains 60fps.

AI-written summary · about

  1. 0:00Introduction
  2. 1:07SwiftUI performance matters
  3. 3:34Imperative to declarative
  4. 5:20UIKit vs SwiftUI
  5. 8:29Declarative state management
  6. 14:10SwiftUI performance fundamentals
  7. 15:33Keep view body simple
  8. 20:27State vs observed object
  9. 24:35Avoid redundant updates
  10. 28:25Splitting state into views
  11. 33:39POD and equality
  12. 40:43Optimizing expensive views
  13. 43:31Beware closures
  14. 44:32SwiftUI performance tips
  15. 45:13Code maintainability
  16. 46:18Q&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.