Refactoring Large Initializer in Swift. Part 1. Dependency Injection with Default Values and Properties.

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

Om Podcasten

Inside iOS dev is a weekly show about real world iOS development. Your hosts, Alex Bush and Sandeep Aggarwal, draw from their experiences ranging from 4+ year old legacy codebases, to small startup green field projects, to working on apps at places like Uber, Wayfair, and Upkeep with millions of active users. They discuss everything from implementing specific features, to creating flexible designs, to utilizing refactoring techniques, and more. This is THE show for professional iOS developers.