Rewriting Alamofire: Into the Core

Jon Shier, Detroit Labs Part of DW18

Since its first release in 2015, Alamofire has become one of the most popular Swift frameworks.

In the three years since that 1.0.0 release, it has gained more and more features, and the internal complexity to go along with them.

For version 5, however, we realised it was time to rewrite the core of the library to enable further growth, new features, and greater scalability.

In this presentation I will explore the reasoning behind this risky decision and how we were able to use our existing test suite to replace the core of the framework while largely maintaining compatibility for existing Alamofire users.