Using Closures as Dependencies

Опубликовано: 23 Май 2026
на канале: donny wals
1,623
91

In this video we'll explore an alternative way of injecting functionality into your objects. You'll see how you can use closures to inject only the functionality you really need rather than an entire object which makes scoping your dependencies much easier, as well as improving composability and testability of your code.

This video is a companion video for the following blog post: https://www.donnywals.com/using-closu...

Check out my Swift Concurrency course right here: https://donnyplus.com/p/practical-swi...