Essential Developer

View Original

S02E02: Refactoring public Swift APIs without breaking clients | Professional iOS Engineering Series

Watch on YouTube

In this episode, we start migrating the deprecated Router to the new QuizDelegate protocol while maintaining backward compatibility (without breaking clients!).

You’ll learn how to change code with confidence by taking tiny steps, making sure the tests are passing at all times, and committing often.

Big code changes are risky and susceptible to mistakes. Taking smaller steps makes the whole process safer and more productive.

This way, you can easily discard, revert, and cherry-pick specific changes without the risk of losing work.

Subscribe to our Youtube channel and follow the project's progress on GitHub.

References