Learn Dependency Injection for SwiftUI / UIKit (iOS Tutorial)

preview_player
Показать описание
In today's video we will be looking at how we can get started with dependency injection, and how it simplifies are project structure and promotes increased reusability in our code. We will also be covering how we can handle multiple dependency injection, and how we can use property wrappers to further clean this project.

00:00 Intro
01:38 Dependency Injection Example
04:23 Multiple Dependency Injection
08:30 Property Wrappers
10:42 Sample Classes
13:17 Dependency Providers
14:52 Injected Dependencies
17:39 Why did we do this?
18:48 Mock Data
20:24 Wrapping it up
Рекомендации по теме
Комментарии
Автор

One of the cleanest OOTB implementations of dependency injection that I've seen so far!

Risecustomshop
Автор

this video is legen wait for it...
...
...
dary

ahmetbugraozcan
Автор

As my father use to say to most people... TOO DEEP? He was a smart man.

dugrut
Автор

can you make QR code coupon count app example please

shafferzeyn