Airbnb Sep 8, 2020

Motion Engineering at Scale

Article Summary

Airbnb was shipping hundreds of features, but custom animations were getting cut due to complexity. Their solution? A declarative framework that reduced transition code from hundreds of lines to just a few.

Cal Stephens from Airbnb's iOS team breaks down their new declarative transition framework that powers animations across their 2022 releases. The system moves away from imperative UIKit patterns to make fluid animations as easy to build as screen layouts.

Key Takeaways

Critical Insight

Airbnb's declarative transition framework makes custom animations simple enough that engineers can ship polished motion design on tight timelines without architectural changes.

The article reveals the clever diffing algorithm that makes this framework work, plus how they handle the tricky problem of creating a unified view hierarchy from two separate screens.

Recent from Airbnb

Related Articles