December 2018
Intermediate to advanced
414 pages
10h 19m
English
The Typhoon framework (http://appsquickly.github.io/Typhoon/) is probably the most famous DI Container in the Cocoa ecosystem:

It's full of features, but it isn't too big, just around 3,000 lines of code. It is well-documented because the maintainers are committed to improving it.
The Typhoon building blocks are called assemblies, and they look like factories. Let's see the code provided as a sample app on their website (https://github.com/appsquickly/Typhoon-Swift-Example):
public class ApplicationAssembly: TyphoonAssembly { //... public dynamic func citiesListController() -> AnyObject { //... } public dynamic func ...Read now
Unlock full access