~/talk

Detangling Gesture Recognizers

Talkat UIKonf 2019 · 2019-05-26..05-29· [ios, ux-and-product-design]
links:none on file
slides:none on file

OmniGraffle's gesture bugs are fixed by replacing tangled delegate logic with an explicit state machine that enables and disables recognizers via the isEnabled flag, removing brittle requireToFail webs. 18 documented gesture-driven actions become a sparse transition matrix; standard UIGestureRecognizer subclasses remain but are simplified (tap counter, rotation that continues with one finger). Debugging uses console, sound-breakpoints and on-screen visualizers; the rewrite takes about two months and yields a far less fragile, testable system.

AI-written summary · about

  1. 0:00Introduction
  2. 1:02Story
  3. 2:56Documentation
  4. 3:42Demo
  5. 4:51Bug Overview
  6. 5:14Favorite Debugging Techniques
  7. 11:59Long Press Gesture
  8. 15:40Composite Gesture
  9. 16:01Delegate Protocol
  10. 17:24Too Many Gestures
  11. 18:58State Machines
  12. 21:15State Transition Matrix
  13. 23:06Should Recognize
  14. 23:55Custom Gesture Recognizers
  15. 25:18Benefits
  16. 26:07Questions
  17. 27:47Collaborative process
  18. 28:32How long did it take
  19. 29:03Visualizing code
  20. 30:01Dealing with builtin scroll views
  21. 31:41Easy to follow code
  22. 32:26Visualisation resistance
  23. 33:38Gesture alternatives
~/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.