iOS Dev 35: MVVM Binder using Combine | Swift 5, XCode 13

  Переглядів 8,912

Emmanuel Okwara

Emmanuel Okwara

День тому

In this video we learn how to bind our ViewController with our ViewModel using Combine's @Published wrapper.
This allows our view to listen for changes in specific properties and automatically react to those changes.
Additional Materials:
Starter Project: github.com/EMacco/ios-tutoria...
MVVM Explained: • iOS Dev 34: MVVM Desig...
Retain Cycle: • iOS Dev 16: Retain Cyc...
Say Hi on Social Media:
LinkedIn: / ​​
Twitter: / its_macco
Video Content
1. Introduction 00:00
2. Create @Published variable? 02:18
3. Subscribe to @Published variable 04:17
4. Conclusion 09:00

КОМЕНТАРІ: 20
@jimmychao6526
@jimmychao6526 3 місяці тому
Honestly It's by far the most comprehensive combine video I've seen. Other youtuber alway make it so unnecessarily complicated.
@Amerikkalainen
@Amerikkalainen Рік тому
Fantastic! More videos on MVVM + Combine + UIKit would be fantastic! Great work.
@ShazamNC
@ShazamNC 2 роки тому
Awesome content! Would like a playlist about Combine :)
@EmmanuelOkwara
@EmmanuelOkwara 2 роки тому
Definitely considering it. It’ll be epic 😊
@NhatNguyen-du9gp
@NhatNguyen-du9gp 11 місяців тому
hope you make more video about IOS development, thank for your video
@groundswift5813
@groundswift5813 Рік тому
Thanks for removing all the fluff around combine
@EmmanuelOkwara
@EmmanuelOkwara Рік тому
There’s more fluff we’ll probably remove in future 😉
@reece5863
@reece5863 Рік тому
thanks for this video
@preetham1150
@preetham1150 Рік тому
Hi Emmanuel! Great video on combine, but I think we would achieve the same functionality if we use inbuilt DidSet property wrapper
@Jock3R87
@Jock3R87 2 роки тому
You are doing great stuff man…. Would like to see Protocol Oriented Programming with DI
@EmmanuelOkwara
@EmmanuelOkwara 2 роки тому
Thanks, Sagar I’ll consider making a video on protocol oriented programming. 😊
@SadSitizen
@SadSitizen Рік тому
Thank you Emmanuel! Great video! Can you think about making a video about async/await in UIKit? 💜
@EmmanuelOkwara
@EmmanuelOkwara Рік тому
I just did. It’ll be live tomorrow 😅
@dennycad7859
@dennycad7859 2 роки тому
thanks
@pallasivaji6035
@pallasivaji6035 Рік тому
Great..
@FabriccioDelaMora
@FabriccioDelaMora Рік тому
Shouldn't the viewModel own the cancellables set?
@nalindawickramarathna8730
@nalindawickramarathna8730 2 роки тому
Good stuff. Can you do some RxSwift playlist as well.
@EmmanuelOkwara
@EmmanuelOkwara 2 роки тому
Thanks, Nalinda. 😊 I have this in mind but it’s unfortunately not in the short term.
@Rahul-jf5kf
@Rahul-jf5kf Рік тому
Hello @Emmanuel what to use for API Call Result, Future or Anypublisher also Data binding from View to Model is not mentioned
@EmmanuelOkwara
@EmmanuelOkwara Рік тому
Great question! I’ll cover these in a follow up video 😊
iOS Dev 36: Getting Started with Animations | Swift 5, XCode 13
25:22
Emmanuel Okwara
Переглядів 2,4 тис.
Getting started with Combine + UIKit in Swift
23:45
Swift Arcade
Переглядів 17 тис.
😳 Домінація! ОГЛЯД БОЮ ЛОМАЧЕНКО - КАМБОСОС
04:06
Піхотинці - про потребу у людях
00:57
Суспільне Новини
Переглядів 1 млн
MVVM Combine Swift (2022) | UIKit | Transform Input & Output
40:56
Kelvin Fok
Переглядів 10 тис.
iOS Dev 33: MVC Design Pattern Explained with Example | Swift 5, XCode 13
27:42
Migrating to Combine
22:51
Kilo Loco
Переглядів 19 тис.
Combine. Введение в фреймворк
21:46
SwiftBook
Переглядів 14 тис.
Diffable Data Source (Swift 5, Xcode 12, TableView) - iOS 2020
16:54
iOS Academy
Переглядів 16 тис.
Combine Latest Operator | Combine Framework | Swift | iOS
13:55
Protocol Oriented Programming (Swift 5) MVVM & Unit Test
48:00
Kelvin Fok
Переглядів 7 тис.
Master The Combine Framework: From Beginner to Advanced
1:32:13
tundsdev
Переглядів 36 тис.
Why spend $10.000 on a flashlight when these are $200🗿
0:12
NIGHTOPERATOR
Переглядів 17 млн
🤯Самая КРУТАЯ Функция #shorts
0:58
YOLODROID
Переглядів 3,3 млн
ПОЛГОДА строгого режима для Lenovo Legion 5 pro. Чем может обернуться обычный ремонт ноутбука?
31:47
ААНТ КОНТАКТ Сервис по ремонту техники в ЕКБ, СПБ
Переглядів 33 тис.
iPhone 17 Slim - НЕ ОНОВЛЮЙ iPhone в 2024 | Новини Тижня
31:12
Канал Лучкова
Переглядів 35 тис.