Refactoring Large Initializer in Swift. Part 1. Dependency Injection with Default Values and Properties.
Inside iOS Dev - A podcast by Alex Bush, Sandeep Aggarwal
Categorie:
In this episode Sandeep and Alex refactor a class with a large initializer into something easier to use. This is part one of this series. Sample code was taken from Fred’s tweet: https://twitter.com/frederickohen/status/1413595709471875072