Refactoring Large Initializer in Swift. Part 1. Dependency Injection with Default Values and Properties.
Inside iOS Dev - En podcast af Alex Bush, Sandeep Aggarwal
Kategorier:
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