How to use AsyncPublisher to convert @Published to Async / Await | Swift Concurrency #12

  Рет қаралды 16,028

Swiftful Thinking

Swiftful Thinking

Күн бұрын

Пікірлер: 86
@raphaels8585
@raphaels8585 2 жыл бұрын
I just went through the whole playlist, that was amazing I learnt SO MUCH! I'm never using a completion handler ever agaiiiiiiiin 🤩 Thank you Nick you're the man!!!
@editavatar6423
@editavatar6423 7 ай бұрын
I have been following your playlists in a structured format the way you have created them. You are doing an amazing job mate. Keep up the great work.
@МаксимСкарабов
@МаксимСкарабов Жыл бұрын
TY for your lessons! English is not my native language but you explain about ios developing better and clearer than a lot of russian online teachers
@Taras195
@Taras195 Жыл бұрын
This whole playlist has cleared up sooo much head fog i've been getting last month. Thank you for your efforts and examples!
@nancyjain6259
@nancyjain6259 Ай бұрын
When is your playlist coming for Async Sequence? Super excited for that, can't wait!!!
@josemanuelortizsanchez4983
@josemanuelortizsanchez4983 2 жыл бұрын
Its the best KZbin list, congratulations!
@Jacksonmark
@Jacksonmark 2 жыл бұрын
By 12:24, you had already helped me solve my current problem! TY.
@mafiaboy16
@mafiaboy16 Жыл бұрын
I know i’am more than two years behind, but so far i’m learning a lot from you😊😊
@maciusessa
@maciusessa 2 жыл бұрын
Love this playlist. Thank you a lot. Currently i am trying to migrate some of my projects from Combine to Concurrent code. Very helpful videos.
@МихаилПеревозчиков-ц4р
@МихаилПеревозчиков-ц4р 2 жыл бұрын
Hey, Nick! This was so cool. You are an amazing teacher. There was a lot new things I learned during watching this playlist! Especially the StructClassActor video. Thank you so much for your work!😃
@SwiftfulThinking
@SwiftfulThinking 2 жыл бұрын
Thanks for watching!!
@alexbui0609
@alexbui0609 Жыл бұрын
Finished the playlist. Amazing work Nick!
@alyonaKisha
@alyonaKisha Жыл бұрын
The best playlist on this theme!! So many useful info!! Thanks a lot for sharing!!!
@SwiftfulThinking
@SwiftfulThinking Жыл бұрын
Thanks for watching 👍
@光莒
@光莒 2 жыл бұрын
I'm exciting to know anything about async/await and async topic. It's hard for me to read the apple document... This is just a greatest channel for learning Swift I have ever seen before~~ Thank you Nick~
@indomitabletr1834
@indomitabletr1834 Жыл бұрын
watched all and looking forward to new ones ❣
@bruhmoment3731
@bruhmoment3731 2 жыл бұрын
last video in this playlist! Wow! It's been so great
@esakkimuthu3397
@esakkimuthu3397 Жыл бұрын
I loved your way of teaching stuff. I’m new to iOS development, I watched your full beginner, intermediate, concurrency and Todo playlist and learned a lot. Thank you for your effort. I’m gonna keep watching your remaining playlist. ❤
@SwiftfulThinking
@SwiftfulThinking Жыл бұрын
Wow! That’s a lot haha thanks 🚀
@Reallymellie
@Reallymellie Жыл бұрын
You are the best Nick! Grateful for your video's!
@khaledsh8506
@khaledsh8506 Жыл бұрын
Amazing playlist, complete with everything we need to know, much thanks.
@JohnStrandt
@JohnStrandt Жыл бұрын
You did an excellent job explaining the topics. Thanks!!
@shafeerehman7464
@shafeerehman7464 2 жыл бұрын
Greeting From Pakistan, Just wanted to let you know that my job depends on you so please keep this channel forever :D best SwifUi teacher on youtube handsdown
@SwiftfulThinking
@SwiftfulThinking 2 жыл бұрын
Hello from across the world 🥳 thanks for watching Shafee!
@alexanderkorchak1270
@alexanderkorchak1270 Жыл бұрын
Thanks, Nick! Best course ever. Spent wonderful time watching and practicing.
@bhuwin6186
@bhuwin6186 Жыл бұрын
You are the Goat nick, hopefully more videos in future.
@lincolndickerson1293
@lincolndickerson1293 2 жыл бұрын
First this play list is absolutely the rosetta stone to swift concurrency. You are a great teacher. I will be doing this next thing myself as soon as I am done here. It seems you forgot to switch the datamanager back to being an actor and I am curious about what happens then.
@lincolndickerson1293
@lincolndickerson1293 2 жыл бұрын
It worked as expected with no combine had to put another await: for await value in await manager.$myData.values. I also added a button with a Task in the action to add more… this is so fun. Super easy to work with and very readable. Thanks again.
@marcelfyi
@marcelfyi 2 жыл бұрын
This has been a fantastic playlist. Thank you very much! Can't wait for your future content.
@lizakryshkovskaya7412
@lizakryshkovskaya7412 Жыл бұрын
I'm enjoying a lot your way of teaching! Thank you! 🙏
@kavinda_dilshan_paramsoodi
@kavinda_dilshan_paramsoodi Жыл бұрын
I’m waiting for the combine latest, denounce, store in cancellable, map, decode, etc in the form of Async in this playlist in the near future. Good luck Nick.🎉
@penguinwolf0125
@penguinwolf0125 2 жыл бұрын
Very useful!! Pleaseee more videos with new Async Await features 🙌🏻
@oliverbarreto1838
@oliverbarreto1838 2 жыл бұрын
Great work Nick ! I Would like to know if you are planning to create a playlist with an example using async/await concurrency APIs … for example refactoring the crypto app. For me that would be the missing piece to put all this knowledge into work.
@lukematthewsutton
@lukematthewsutton 2 жыл бұрын
Loving these videos mate. Been a great help for me as I work on introducing async into an existing project.
@kavinda_dilshan_paramsoodi
@kavinda_dilshan_paramsoodi Жыл бұрын
Just Finished your Concurrency Playlist and now it’s time to watch the final playlist called ‘Swift UI - Advanced Learning’. After watching that playlist I’ll start working on 5 brand new projects one after another. Damn I feel Like I’m about to Master Swift UI because of you.🎉❤ #SwiftUIAngle #SwiftUIGoat
@SwiftfulThinking
@SwiftfulThinking Жыл бұрын
KD BEAST MODE
@pangea6919
@pangea6919 Жыл бұрын
You the man Nick!
@andresraigoza2082
@andresraigoza2082 2 жыл бұрын
Awesome playlist, thank you so much Nick
@MarkVolkmann
@MarkVolkmann 2 жыл бұрын
Thanks so much for creating these!
@РомаРома-х7о
@РомаРома-х7о 2 жыл бұрын
Thanks man for your videos! Easy to understand!
@fragrantume
@fragrantume 2 жыл бұрын
Hi Nick! Could you please create a video about SOLID? I recently got stuck with it, but I believe that your aptitude for explaining will help me figure this this out.
@asadchattha3470
@asadchattha3470 8 ай бұрын
Thanks Nick❗
@Den-ig5bs
@Den-ig5bs 11 ай бұрын
Thanks for videos, appreciated
@3ilz
@3ilz 2 жыл бұрын
Great playlist, love everything
@Lvoonok
@Lvoonok 2 жыл бұрын
Love your videos, thank you! How often do you use async Await in your apps?
@pakaponwiwat2405
@pakaponwiwat2405 Жыл бұрын
Thank you very much!😻
@РауанБимат
@РауанБимат 3 ай бұрын
Hi,Nick, can you tell me where the playlist about the harvester is? by the way, thanks for the lessons, you explain everything perfectly, I heard at 17:38 that you have a playlist about the combine
@SwiftfulThinking
@SwiftfulThinking 3 ай бұрын
What is harvester? You can search for the Combine videos here: www.swiftful-thinking.com/search
@РауанБимат
@РауанБимат 3 ай бұрын
@@SwiftfulThinking Sorry, I wanted to write a combine, typo
@РауанБимат
@РауанБимат 3 ай бұрын
@@SwiftfulThinking thanks❤️
@KEVINKIM2586
@KEVINKIM2586 2 жыл бұрын
Thx for the series!!
@Prashant-7
@Prashant-7 Жыл бұрын
13:38 🤯 crazyyy
@bjornlindner637
@bjornlindner637 2 жыл бұрын
Another awesome tutorial, thanks for that. Is there no way to enable addData to tell the subscriber when it is finished?
@bytesizedscreencasts
@bytesizedscreencasts 2 жыл бұрын
Hey, just finished watching this series. How about a series on "What's new in SwiftUI in iOS 16" Series? Covering all about new navigation stack, charts, weather kit etc etc.
@Sfstboy
@Sfstboy 2 жыл бұрын
This course was very helpful to understand async await. I was able to convert combine in the Crypto Tracker app relatively easily. Thanks for the amazing courses.
@FrantisekNovak55
@FrantisekNovak55 2 жыл бұрын
Combine is apple's RxSwift/RxJava and Async Sequence is Kotlin Flow
@HUNTELAAR11W
@HUNTELAAR11W 2 жыл бұрын
Incredibile video as always, how you reach this level of knowledge? Where you started?
@Antonnel7
@Antonnel7 2 жыл бұрын
hi nick!! A good course will give you an idea - there is not enough course on application architecture for swiftui example (redux + state ) and system type + action
@serhii_rs
@serhii_rs 2 жыл бұрын
Please make a video lesson for properly architecture of multi-language application.
@Seepho
@Seepho 2 жыл бұрын
We need a practice playlist to use concurrency!
@sfunke2004
@sfunke2004 2 жыл бұрын
Great playlist, thanks! I have one remark regarding cancellation: To me it seems that with Combine you get cancellation "for free" using cancellables, while when using "for await", you seem to have to manage that yourself? In your example, in case of the view's disappearing, I think the Viewmodel's Task would go on forever, since the publisher never finishes. Not sure if there are any best practices regarding cancellation out yet?
@mylaluna
@mylaluna 8 ай бұрын
The AsyncPublisher seems to bridge the two worlds but it does not conform to the Sendable protocol. This means when you try to pass it as a parameter into a task of function, you will see a non-sendable type warning. Such a painful yet common situation.
@SiamakAshrafi
@SiamakAshrafi 2 жыл бұрын
Yes. Very good!
@libormatyas8167
@libormatyas8167 6 ай бұрын
Hello Nick, thank you for your video. I came across your video when Xcode 15.4 is current version. Do you have some updated tutorial/way that would compile without errors/warnings with "Swift Compiler - Language - strict concurrency checking set to "Complete"? I am getting several warnings/errors. At first glance I was happy to finally come along a way how to do this :). By the way, you never changed your manager back to "actor". Would be great if you have some updated version of the code. Thanks for your videos. Libor
@SiamakAshrafi
@SiamakAshrafi 2 жыл бұрын
My third time watching all these videos in the Playlist ... LOL
@ShooMPozitiV
@ShooMPozitiV 2 жыл бұрын
Nick? Are you alright? ) I can’t wait any more for new videos ) No one do it better then you
@SwiftfulThinking
@SwiftfulThinking 2 жыл бұрын
Im here bro! Just been busy 🥵
@ShooMPozitiV
@ShooMPozitiV 2 жыл бұрын
@@SwiftfulThinking Ok) I’m patiently waiting. Do your best, bro 💪
@advindoor
@advindoor 9 ай бұрын
Hi. In your video we use class for `AsyncPublisherDataManager`. How work with manager if replace `class` -> `actor`?
@ShredzZ
@ShredzZ 2 жыл бұрын
Hi, do you think iOS development is good if I want to be freelancer?
@alsafeerq82009
@alsafeerq82009 2 жыл бұрын
Is there a way to prevent screen capture or screen recording for the app on macos, ios and ipados?? And how to add the app user iCloud email as watermark on videos and text presented in the app?
@mdrashednizam7569
@mdrashednizam7569 Ай бұрын
awesome,
@DmytroIpatii-cf2eq
@DmytroIpatii-cf2eq 6 ай бұрын
🔥
@tbg6nb
@tbg6nb Жыл бұрын
17:15 and is it still in beta now ?
@mdfasiuddinraihan2049
@mdfasiuddinraihan2049 2 жыл бұрын
Can you please make bitbuket ci/cd tutorial for iOS?
@WJCNWJCN
@WJCNWJCN Жыл бұрын
Task.sleep(for:tolerance:clock:) in iOS 16 is nicer than Task.sleep(nanoseconds:) in iOS 13.
@wangbourne1380
@wangbourne1380 2 жыл бұрын
since `values` only support iOS 15, is there a way to support iOS 14 too?
@1slyboy
@1slyboy Жыл бұрын
So since the for await loop never ends (in addSubscribers) does this mean that the AsyncPublisherBootcampViewModel class will never go away even after the view is no longer being displayed? It has a hard reference to self, and seems like it will never get canceled?
@1slyboy
@1slyboy Жыл бұрын
Confirmed in the next video, keep a reference to the task and cancel it.
@ShooMPozitiV
@ShooMPozitiV 2 жыл бұрын
What I will do without your lessons when you’ll cover all swift themes? )
@dugrut1325
@dugrut1325 2 жыл бұрын
2nd time thru
@SwiftfulThinking
@SwiftfulThinking 2 жыл бұрын
I didn’t realize u we’re on this course too 😅 much harder than the first bootcamp lol
@pearl-z3475
@pearl-z3475 2 жыл бұрын
兄弟们,卷起来!!!
@heesungkang1968
@heesungkang1968 2 жыл бұрын
damn your so lovely dude
@GoatComedians
@GoatComedians 2 жыл бұрын
Hey Nick, love your content! Just sent you a DM on Instagram, I hope the unforeseen potential for opportunities intrigues you as much as it does for me. Look forward to hearing from you soon!
@morreke
@morreke 2 жыл бұрын
Man I just got used to Combine, now this :) Btw, you changed the actor into a class. but didn't revert it back to an actor. When doing this, the task should begin with "for await value in await manager.$myData.values"
What is the Sendable protocol in Swift? | Swift Concurrency #11
17:09
Swiftful Thinking
Рет қаралды 14 М.
How To Choose Mac N Cheese Date Night.. 🧀
00:58
Jojo Sim
Рет қаралды 117 МЛН
FOREVER BUNNY
00:14
Natan por Aí
Рет қаралды 38 МЛН
Beat Ronaldo, Win $1,000,000
22:45
MrBeast
Рет қаралды 112 МЛН
From Small To Giant 0%🍫 VS 100%🍫 #katebrush #shorts #gummy
00:19
How to use MVVM with Async Await | Swift Concurrency #14
11:42
Swiftful Thinking
Рет қаралды 10 М.
How to use escaping closures in Swift | Continued Learning #20
21:56
Swiftful Thinking
Рет қаралды 20 М.
How to use Actors and non-isolated in Swift  | Swift Concurrency #9
29:31
Swiftful Thinking
Рет қаралды 21 М.
How to use AsyncStream in Swift | Swift Concurrency #18
26:32
Swiftful Thinking
Рет қаралды 7 М.
Swift API Calls for Beginners (Networking) - Async Await & JSON
25:35
How to use Do, Try, Catch, and Throws in Swift | Swift Concurrency #1
26:34
How To Choose Mac N Cheese Date Night.. 🧀
00:58
Jojo Sim
Рет қаралды 117 МЛН