~/talk

Building Responsive Interactions

Talkat iOS Conf SG 2023 Β· 2023-01-12..01-13Β· [swift, web-performance]
slides:none on file

An app built from a collection view with compositional layout and cells hosted via UIKit and SwiftUI starts out hitching, sliders failing about 50 percent of the time, and dismissal gestures dropping. Fixes include async image decoding with prepareForDisplay, using pan gestures and an interruptible decay animation loop instead of discrete swipe recognizers, moving transforms to layers, and profiling hitches with Instruments. On promotion devices at 120 hertz this yields smooth scrolling, responsive sliders and interruptible gestures and the rebuilt scroll behavior using motion works as intended.

AI-written summary Β· about

  1. 0:00Introduction
  2. 3:33Time Machine app updates demo
  3. 4:58Fix unresponsive touches
  4. 7:28Improving slider responsiveness
  5. 10:58Contextual menus for interactions
  6. 11:39Key takeaways
  7. 12:01Fixing scrolling hitches
  8. 15:31Responsive image loading
  9. 17:16Quick tips for scrolling lag
  10. 17:38Analyzing gesture responsiveness
  11. 18:20Reduce gesture latency
  12. 20:44Perceived responsiveness
  13. 21:27Avoid swipe recognizer
  14. 22:31Interruptible gesture loops
  15. 25:58Motion for animations
  16. 27:47Rebuilding UIScrollView
  17. 28:07Optimizing sheet animations
  18. 29:30Interruptible loops in photo editor
  19. 32:57Flip animation with hosting
  20. 33:59Summary
  21. 34:20Accessibility and reduced motion
  22. 34:40Final tips
  23. 35:44Closing thoughts
  24. 37:48Q&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.