Preparing for the unexpected.
This week I've been working hard on adding macOS support to our internal SDK at WeTransfer. Our SDK contains about ~20 packages, ranging from UI and Foundational focused logic.
Our decision to develop modularly using Swift Package Manager pays off during this transition. In a few days, I successfully added macOS support, allowing us to reuse all packages we've developed over the past years.
Packages for networking, authentication, tracking purposes, and UI are all transitioned and ready to be reused. Best of all: they're heavily tested, allowing us to validate functionality while running tests for macOS.
In the past, I've had projects in which we decided not yet to build packages since it wasn't needed then. We didn't prepare for the unexpected, which I'm glad we did now at WeTransfer.
Enjoy this week's SwiftLee Weekly! |