Airbnb Aug 11, 2020

Lottie and Swift at Airbnb

Article Summary

Airbnb rewrote their massively popular Lottie animation library from scratch in Swift. Here's why they chose a complete rewrite over incremental updates.

Tyler Hedrick from Airbnb's iOS team shares the personal and technical journey behind migrating Lottie, the open-source animation library used by over 50% of top apps, from Objective-C to Swift. Written in 2019, this reflects a pivotal moment in iOS development.

Key Takeaways

Critical Insight

Airbnb chose a full Swift rewrite to future-proof Lottie, reduce technical debt, and make the codebase accessible to modern iOS developers.

The author went from actively avoiding Swift to championing the rewrite after a frustrating debugging session revealed the true cost of legacy code.

Recent from Airbnb

Related Articles