~/talk

Adventures In API Design

Talkat Swift & Fika 2018 · on Monday, 2018-09-10· [api-design, ios]
slides:none on file

Compares shallow vs deep API boundaries using CascableCore (camera SDK) and Spotify metadata vs Crashlytics examples, arguing deep boundaries absorb chaos at cost of implementation work. Describes solving live‑view: move from push frames to a pull model by adding a completion handler, throttle and buffer to avoid memory spikes at ~40 fps. Describes hiding fragile camera state machines by serializing dual‑SD streaming and faking live view so the app never freezes. Concrete tradeoffs and working engineering fixes.

AI-written summary · about

  1. 0:00Introduction to API design
  2. 3:15Choosing the API boundary
  3. 8:40Camera SDK adventures
  4. 15:52Push vs pull API design
  5. 16:34Handling fragile hardware
  6. 20:51Shallow vs deep API trade-offs
  7. 21:14Recap and key takeaways
~/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.