DoorDash Sep 13, 2022

Adopting SwiftUI with a Bottom-Up Approach to Minimize Risk

Article Summary

DoorDash just proved SwiftUI is enterprise-ready. Their secret? Don't start with a rewrite.

DoorDash Engineering shares how they successfully adopted SwiftUI in their Consumer iOS app without disrupting their existing UIKit codebase. Their bottom-up strategy leverages VIPER architecture to manage risk while unlocking faster development.

Key Takeaways

Critical Insight

Strategic, bottom-up SwiftUI adoption lets enterprise teams gain speed and testability benefits without the rewrite risk.

The article reveals specific architectural boundaries that made parallel development possible at scale.

About This Article

Problem

DoorDash needed to bring SwiftUI into their large, existing codebase without slowing down the multiple teams working on their Consumer iOS app.

Solution

They used their VIPER architecture's module isolation to adopt SwiftUI one module at a time. New features could be built in SwiftUI while the old UIKit code stayed as it was.

Impact

This approach let DoorDash get SwiftUI's benefits in speed and testability for new modules while keeping existing features stable. They didn't need to rewrite the entire codebase to make it work.

Recent from DoorDash

Related Articles