Writing Stable iOS Applications
summary
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
chapters (11)
- 0:00Introduction
- 2:53Why crashes matter
- 3:54Common crash types
- 7:44Force unwrapping optionals
- 8:28Array index out of bounds
- 9:34Interface Builder outlets
- 11:21UI on background thread
- 13:06Crash detection tools
- 15:17Logging errors instead
- 17:05Summary of fixes
- 17:50Q&A session
related talks
44mHow to Stop Testing and Break Your Code Base
23mMobile App Crashes in Production: Lessons Learned from a Tester’s Viewpoint
50mAn Exploration of Debugging Techniques and Tools
53mRefactor Your Way Forward
47mEverything I know about writing quality software
53mSwift: New Paradigms for iOS Development
37mTake your iOS debugging skills to the next level
29mSpeeding up as an iOS developer
