~/talk

Writing Stable iOS Applications

Talkat AltConf 2019 · 2019-06-03..06-06· [testing, ios]
slides:none on file

Breaker is a Swift iOS app with ~35k lines of code that finds 90% of crashes fall into four types: force unwrapped optionals, array index out of bounds, miswired Interface Builder outlets, and UI updates off the main thread. Engineers replace exclamation points with guard/if let/nil coalescing, add safe collection extensions and a safe scroll method, and ship weekly TestFlight builds while logging unexpected states via a Crashlytics/Sentry wrapper instead of crashing for users.

AI-written summary · about

  1. 0:00Introduction
  2. 2:53Why crashes matter
  3. 3:54Common crash types
  4. 7:44Force unwrapping optionals
  5. 8:28Array index out of bounds
  6. 9:34Interface Builder outlets
  7. 11:21UI on background thread
  8. 13:06Crash detection tools
  9. 15:17Logging errors instead
  10. 17:05Summary of fixes
  11. 17:50Q&A session
~/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.