~/talk

Redraws in SwiftUI

TalkinRussianat Mobius 2025 Spring · 2025-04-09..04-10· [ios]
links:none on file
slides:none on file

Covers rendering performance in SwiftUI, focusing on view redraws and how they affect app performance. Presents simple explanations and examples aimed at developers new to SwiftUI or preparing for performance reviews, with practical guidance on identifying and reducing unnecessary redraws.

AI-written summary · about

  1. 0:00Introduction
  2. 1:05Why study redraws
  3. 3:14View lifecycle in SwiftUI
  4. 4:37Testing redraw methods
  5. 5:40How modifiers work
  6. 6:41Redraws on offset change
  7. 7:44Analyzing Print Changes
  8. 8:50Danger of onChange
  9. 9:33Basics recap
  10. 10:15Conditionals and redraws
  11. 11:58Switch conclusions
  12. 12:20Subview optimization
  13. 13:46Struct vs Subview
  14. 15:32Subview with Binding
  15. 16:37Subview Equatable issues
  16. 18:44Subview optimizations recap
  17. 19:48ObservableObject redraws
  18. 21:12ViewModel dependencies
  19. 22:38Subview via ViewModel
  20. 24:25Nested ViewModel impact
  21. 25:49ViewModel recap
  22. 26:50Environment navigation danger
  23. 27:55Navigation stack redraws
  24. 29:22Navigation recap
  25. 30:05Animations impact
  26. 31:31Geometry Reader myths
  27. 33:40Scroll Offset Reader
  28. 35:05Geometry Reader redraws
  29. 37:12Navigation Bar hiding
  30. 38:35Geometry Reader recap
  31. 39:17SwiftUI conclusions
  32. 40:40Test examples repo
  33. 41:03Q&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.