The Swift Code Review Podcast
In-depth technical analysis of Swift code, discussing pros and cons as they relate to iOS and server-side Swift development.
3. Immediately Invoked Closures vs Custom Initializers in Swift Development
Jun 27, 2020 | 22:53
Immediately invoked closures are often used to create, configure, and assign an instance of a type all at once. However this can also be accomplished via a custom initializer. Today we discuss the benefits and drawbacks of each approach.