Why use the Combine framework? Example uses for UIKit and SwiftUI - the difference to async await

preview_player
Показать описание
Why would you want to use the Combine framework? In this video, I want to show you different use cases for Combine. These include SwiftUI, ARKit and SharePlay.
Combine can be used as a communication pattern similar to delegates, closures and target/action. This is especially interesting if you plan to use the Coordinator pattern with MVVM in UIKit.
If you want to improve the performance of your app, Combine has tools like debounce, throttle and removeDuplicates.

Overview
00:00 Introduction
02:38 how stable is Combine?
05:24 APIs that use Combine
11:11 Using Combine as a Communication pattern
18:55 declarative programming
22:42 performance optimisation
24:41 processing values and async/ await
29:32 wrap up

The sample project for SharePlay / GroupActivity can be found here:

If you liked what you learned and you want to see more, check out one of my courses!

#CombineFramework #SwiftUI #UIKit
Рекомендации по теме
Комментарии
Автор

Please do more videos on MVVM-C + Combine + UIKit with complex layout and logic. Your tutorials are great :)

islombabaev
Автор

Hi Karin, have your views on Swift Combine changed in 2024? Do you think it's still worth investing time to learn Combine?

byaruhaf
Автор

I wld love to be abLe to read a text presentation of this video as it is a little complicated and I will need to study it slower than you are speaking, and be able to simultaneously study your whiteboard. But you sure know your stuff!

craigcurphey