~/talk

Siri Shortcuts

Talkat Swift Heroes 2018 · on Friday, 2018-11-09· [ios]
slides:none on file

iOS 12 turns Workflow into Shortcuts and adds concrete APIs: use NSUserActivity for simple donated actions (eight lines to open a screen), define an intent in an Intent Definition File to generate code, donate an interaction, and implement an intent extension (plus an optional intent UI extension) to run in background. must use App Groups for shared data; custom responses and failure templates improve UX. limitation: intents cannot accept arbitrary freeform input (dates etc.), so many apps use x‑callback‑URL or clipboard hacks (Caret) to work around it.

AI-written summary · about

  1. 0:00Introduction to Siri shortcuts
  2. 3:08Shortcut automation basics
  3. 6:44Implementing NSUserActivity
  4. 12:56Working with the Intents framework
  5. 18:59Advanced background extensions
  6. 22:23Creating custom UI extensions
  7. 25:52Advanced automation workarounds
  8. 29:24Voice UX best practices
  9. 34:22Q&A and future outlook
~/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.