Overview
Explore fundamental rules for designing accessible APIs that are powerful yet easy to use, even for novice developers. Learn from Dave DeLong, Principal iOS Engineer at WeWork, as he shares insights gained from 10 years of designing and shipping APIs to millions of developers. Discover how to create APIs that stand the test of time and are a pleasure to use. Delve into topics such as accessibility, kindness in API design, future-proofing, minimizing user effort, duplication, unit testing, framework considerations, platform conventions, flexibility, and expressing APIs effectively. Gain valuable knowledge on avoiding transitive dependencies, leveraging new features, preventing crashes, and cultivating empathy in API design.
Syllabus
Introduction
Accessibility
Being Kind
Writing APIs as though they will last forever
What is the minimum amount of work to do
Duplication
Unit Tests
Frameworks
OneClick Install
Platform conventions
Common types
Default case
Flexibility
Framework Authors
Strong Opinions
Expressing the API
Avoiding transitive dependencies
Using new features
Do not crash
Empathy
Taught by
try! Swift Conference