Please log in to watch this conference skillscast.
Dependency injection has been introduced as one of the modern best practices in WWDC 2016. The pattern significantly improves modularization of components for flexibility, maintainability and testability. However still only a few articles and examples exist for Swift developers to start learning dependency injection for their practical applications.
In this session, the original author of Swinject, the most popular dependency injection framework in Swift, will instruct the basic concept and advantages of dependency injection, and demonstrate its practical applications.
The talk covers:
Tight coupling / loose coupling
Inversion of Control (IoC)
Testability with external systems and mocking
Dynamic dependency injection with a container
Static dependency injection in Cake Pattern
YOU MAY ALSO LIKE:
- Brian Egan's Flutter and Dart Workshop (in London on 22nd - 23rd October 2019)
- Pivotal's Core Spring (in London on 4th - 7th November 2019)
- droidcon London 2019 (in London on 24th - 25th October 2019)
- iOSCon 2020 - The conference for iOS and Swift Developers (in London on 19th - 20th March 2020)
- Clean Architecture using BLoC & Voyager: DI & the Widget Router (in London on 21st October 2019)
- Keynote by Naoki Takezoe on Revisit Dependency Injection in Scala and Introduction to Airframe (in London on 25th November 2019)
- Cleaning the Big Picture: Creating Maintainable Mobile Games in Haskell (SkillsCast recorded in October 2019)
- Core Image: Great When It Works (SkillsCast recorded in August 2019)
Dependency Injection in Practice
Yoichi is an iOS developer working at Mercari Inc, which provides a marketplace app for anyone to buy and sell items from a mobile device. He is also an open source contributor, and the original author of Swinject, the first and the most popular dependency injection framework written in and for Swift.