Getting Started with Combine Framework in Swift - Introduction to Functional Reactive Programming

  Переглядів 24,299

Karin Prater

Karin Prater

День тому

In this tutorial I am giving an introduction to Apples Combine framework. We will see what is Combine and how you can use it.
If you never used reactive programming before, this video is made for you. I want to give you an idea of working with data streams. This is going to be very basic, but it will help you to understand the different components like publishers, operators and subscriptions.
By the end of this video you will be able to understand code written in combine, so you can start experimenting with combine by yourself.
Overview
00:00 Introduction
00:47 Automated Production line
04:04 Combine's Publisher, Operators and Subscription
11:50 Playground example with a Timer publisher
22:02 Where to go from here
If you liked what you learned and you want to see more, check out one of my courses!
👨‍💻 my SwiftUI course school.swiftyplace.com/course...
👨‍💻 my Core Data and SwiftUI course school.swiftyplace.com/course...
👩🏻‍💻 Combine course school.swiftyplace.com/course...
Free book for intermediate to advanced level
heckj.github.io/swiftui-notes...
Blog posts:
theswiftdev.com/the-ultimate-...
/ problem-solving-with-c...
Playground example
github.com/AvdLee/CombineSwif...
Don’t forget the official documentation:
developer.apple.com/documenta...
#Combine #Swift

КОМЕНТАРІ: 49
@SwiftyPlace
@SwiftyPlace 2 роки тому
If you enjoyed it and want to keep on going, you can continue learning with my Combine framework course. Have a look at the link and grab a 15% discount swiftyplace.newzenler.com/courses/master-combine-framework?coupon=UKpostsPROMO.
@HumbleHustle101
@HumbleHustle101 Рік тому
Excellent video. Thanks
@bobweiram6321
@bobweiram6321 2 роки тому
I can tell you're the type of person who is unsatisfied with a partial understanding of a particular topic. Your explanations are thorough and incredibly clear.
@Eugene.Berezin
@Eugene.Berezin 3 роки тому
Thank you! I was looking for that kind of tutorial. Many examples of Combine are so out of touch of real practical usage. It really helps!
@ivandimitrov9411
@ivandimitrov9411 3 роки тому
Hi, great video. I would appreciate to see some more combine tutorials using swiftui. As mentioned in the other comments, there are not so many video tutorials so I will be very excited to see more practical examples from you. Keep going!
@adalberthermann7643
@adalberthermann7643 3 роки тому
Please make more tutorials. You are amazing for clear explains. Thanks
@KulturanCov
@KulturanCov Рік тому
You are amazing in breaking down dense and elusive swift/swiftui concepts!
@sk4tec
@sk4tec Рік тому
Hey, I'm new to Combine, I love your visual drawings makes it a lot easier to follow!!👍
@emresancaktaroglu6430
@emresancaktaroglu6430 3 роки тому
Another awesome video. Combine framework is very important for SwiftUI developers. Thank you for sharing your information with us.
@jouliabovsheva5668
@jouliabovsheva5668 Рік тому
you are amazing! you can explain difficult stuffs so simple!
@Ankushkushwahachd
@Ankushkushwahachd Рік тому
Simple and nice tutorial. Thank you so much for this video.
@macwilko
@macwilko 3 роки тому
Just starting to learn combine! Very nice introduction.
@EricJohnson-iv7ne
@EricJohnson-iv7ne Місяць тому
Super helpful video. Thank you!
@bettygodier
@bettygodier 3 роки тому
Great scientific process to improve programmation in Swift ! Thank you Karin 👏 I also buy your courses on swiftyplace . Now, i can’t wait your way of thinking unitTest for Combine 😉
@user-zp9gd6cc7q
@user-zp9gd6cc7q 3 місяці тому
thank you, great tutorial
@MuhammadUsman-xi7ou
@MuhammadUsman-xi7ou 2 роки тому
Thanks alot, great tutorial
@absar66
@absar66 2 роки тому
Great example to start this tutorial...really helpful video,..thank you for your efforts..
@jatinnandwani6678
@jatinnandwani6678 Рік тому
Thanks Karin, Thanks so much Excellent work herein
@developerfriendly
@developerfriendly 3 роки тому
Thanks, great video
@SquashSabai
@SquashSabai 2 роки тому
Ok Karin. Dug a bit deeper and now understand the "output in" part of the .sink operator. It's only triggered when there is "natural" completion, which never happened in your code. Still big THUMBS UP ! Fabulous work !
@alexandergavrilov8019
@alexandergavrilov8019 3 роки тому
Thank you!
@josiasmayo7203
@josiasmayo7203 2 роки тому
thank you, very useful :)
@deltaKilo-M
@deltaKilo-M 2 роки тому
Great! Now u are at stage to make cool background behind 😁
@shyamarama
@shyamarama 3 роки тому
Thanks!
@JunaidKhan-ny8tu
@JunaidKhan-ny8tu Рік тому
Wow this is great course
@ccalderon9
@ccalderon9 3 роки тому
Wow. This was SUCH a great introduction to Combine. Are you on Twitter? I've shared this, but would love to tag you / give you credit
@yahootaraguri
@yahootaraguri 3 роки тому
awesome!!!
@RobertHolzapfel
@RobertHolzapfel 3 роки тому
I totally like your step.by.step approach but at the same time efficiently and quickly cover the whole picture. It's like from ZERO to HERO. Very nice. Thank you very much for your videos, that I immediately have subscribed to. Keep going! By the way your accent, though your english seems flawless sounds a bit "german". I know, what I am talking about 🤪. Are you german?
@SwiftyPlace
@SwiftyPlace 3 роки тому
Yes, I am German. I don't mind my accent, as long as people understand me I am happy ;)
@jorgesegundorojas6970
@jorgesegundorojas6970 2 роки тому
Your videos deserve millions of views, I'll share every one of your videos
@SwiftyPlace
@SwiftyPlace 2 роки тому
Thanks a lot.
@draytond
@draytond 3 роки тому
A Combine for Networking tutorial would be awesome! There isn't much on this available online especially POST Requests. Also, your Udemy course was great- thank you for making that!
@SwiftyPlace
@SwiftyPlace 3 роки тому
Great, that you liked my course. Because of you suggestion i spend a whole day playing with this mock service jsonplaceholder.typicode.com. So I will make a tutorial with POST requests soon 😁.
@draytond
@draytond 3 роки тому
@@SwiftyPlace ​ @PhysicsNerd @PhysicsNerd Awesome! I have set notifications for your channel to 'All'! I would totally buy an entire course on SwiftUI+Combine, if you made it but I think it might be easier for you to add it as module to the design-oriented course :)
@SwiftyPlace
@SwiftyPlace 3 роки тому
@@draytond You have no idea how much material I have about Combine! I am just making a course on Combine. All the publishers, operators, error handling, subscriptions. Networking is a huge topic. Including examples for UIKIt and SwiftUI. I like seeing what the different work flows are.
@draytond
@draytond 3 роки тому
​ @PhysicsNerd @PhysicsNerd Brilliant! The Ray Wenderlich and Donny Wals Combine books are mostly geared towards to UIKit so I'll be looking forward to seeing it with SwiftUI as Apple have signaled that that's the future direction of iOS development.
@victorriurean
@victorriurean 2 роки тому
🔥🔥🔥
@SquashSabai
@SquashSabai 2 роки тому
Great Video Karin. Big THUMBS UP ! Really like the way you "visualise" the concept !!! I will subscribe. Regarding the coding, the only part that isn't talked about is the "output in" bit of the subscription.sink method... Why is it there ?
@rajanmaheshwari
@rajanmaheshwari 3 роки тому
Your sink's received completion is never called where you have printed "finished stream with \(output)". How will that be called?
@shurale85
@shurale85 Рік тому
Hi! Sink completion at 15.00 is not called. Can u pls explain what is the purpose of using it?
@demoncoco1386
@demoncoco1386 4 місяці тому
👍👍
@mhfs61
@mhfs61 3 роки тому
👍🏼👍🏼👍🏼
@moody54324
@moody54324 3 роки тому
You’re so gorgeous and such a good teacher♥️
@alansantiago3294
@alansantiago3294 2 роки тому
I can not purchase your course using PayPal nor Mercado Pago :(
BRAWLER MUTATIONS WILL BREAK THE GAME! - Brawl Talk
09:34
Brawl Stars
Переглядів 25 млн
ЧТО ДЕЛАТЬ, ЕСЛИ НЕ ХВАТАЕТ ДЕНЕГ НА ВОССТАНОВЛЕНИЕ ТАЧКИ?
47:52
I PUT MY ARMOR ON (Creeper) (PG Version)
00:19
Sam Green
Переглядів 5 млн
Big Tech AI Is A Lie
16:56
Tina Huang
Переглядів 43 тис.
Should You Still Learn To Code In 2024?
15:12
Tina Huang
Переглядів 59 тис.
Getting started with Combine + UIKit in Swift
23:45
Swift Arcade
Переглядів 17 тис.
STOP using MVVM for SwiftUI | Clean iOS Architecture
18:58
Rebeloper - Rebel Developer
Переглядів 28 тис.
BRAWLER MUTATIONS WILL BREAK THE GAME! - Brawl Talk
09:34
Brawl Stars
Переглядів 25 млн