~/talk

Full Keyboard Control in UIKit Apps

Talkat iOS Conf SG 2020 · on Thursday, 2020-01-30· [ios]
slides:none on file

Explains how to add full keyboard control to UIKit apps using UIKeyCommand and the UICommand/UIAction/UIKeyCommand menu hierarchy, and how the responder chain collects possible commands then looks up a handler when a key combination is pressed. Shows a real PDF Viewer ported to Mac via Catalyst, a KeyboardKit library on GitHub, and implementations for tab switching, nav bar key equivalents, arrow‑key table navigation, and responder chain injection. Notes practical limits: no key‑release/hold events and function keys are unreliable.

AI-written summary · about

  1. 0:00Introduction
  2. 0:40iPad Smart Keyboard
  3. 1:52Keyboard Interactions
  4. 2:33About Me
  5. 3:55Why Keyboard Control
  6. 13:44Low Level Keyboard Support
  7. 14:57Discoverability
  8. 16:28Speed
  9. 18:06Implementations
  10. 19:07Tab Bar Controller
  11. 20:11Key Commands
  12. 21:26Navigation Controller
  13. 22:23KeyCommands
  14. 23:30Arrow Keys
  15. 25:39Responder Chain Injection
  16. 26:44Text Input
  17. 29:01KeyboardKit
~/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.