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

Поділитися
Вставка
  • Опубліковано 1 січ 2025

КОМЕНТАРІ • 86

  • @raphaels8585
    @raphaels8585 2 роки тому +12

    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 8 місяців тому +3

    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

  • @Jacksonmark
    @Jacksonmark 2 роки тому

    By 12:24, you had already helped me solve my current problem! TY.

  • @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!

  • @mafiaboy16
    @mafiaboy16 Рік тому

    I know i’am more than two years behind, but so far i’m learning a lot from you😊😊

  • @josemanuelortizsanchez4983
    @josemanuelortizsanchez4983 2 роки тому

    Its the best UA-cam list, congratulations!

  • @shafeerehman7464
    @shafeerehman7464 2 роки тому +1

    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!

  • @alyonaKisha
    @alyonaKisha Рік тому

    The best playlist on this theme!! So many useful info!! Thanks a lot for sharing!!!

  • @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. ❤

  • @МихаилПеревозчиков-ц4р

    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!😃

  • @光莒
    @光莒 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~

  • @maciusessa
    @maciusessa 2 роки тому +1

    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.

  • @bruhmoment3731
    @bruhmoment3731 2 роки тому

    last video in this playlist! Wow! It's been so great

  • @alexbui0609
    @alexbui0609 Рік тому

    Finished the playlist. Amazing work Nick!

  • @nancyjain6259
    @nancyjain6259 2 місяці тому

    When is your playlist coming for Async Sequence? Super excited for that, can't wait!!!

  • @alexanderkorchak1270
    @alexanderkorchak1270 Рік тому

    Thanks, Nick! Best course ever. Spent wonderful time watching and practicing.

  • @lincolndickerson1293
    @lincolndickerson1293 2 роки тому +1

    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.

  • @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.🎉

  • @marcelfyi
    @marcelfyi 2 роки тому

    This has been a fantastic playlist. Thank you very much! Can't wait for your future content.

  • @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

  • @bhuwin6186
    @bhuwin6186 Рік тому

    You are the Goat nick, hopefully more videos in future.

  • @khaledsh8506
    @khaledsh8506 Рік тому

    Amazing playlist, complete with everything we need to know, much thanks.

  • @Reallymellie
    @Reallymellie Рік тому

    You are the best Nick! Grateful for your video's!

  • @JohnStrandt
    @JohnStrandt Рік тому

    You did an excellent job explaining the topics. Thanks!!

  • @indomitabletr1834
    @indomitabletr1834 Рік тому

    watched all and looking forward to new ones ❣

  • @lukematthewsutton
    @lukematthewsutton 2 роки тому

    Loving these videos mate. Been a great help for me as I work on introducing async into an existing project.

  • @oliverbarreto1838
    @oliverbarreto1838 2 роки тому +1

    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.

  • @РауанБимат
    @РауанБимат 4 місяці тому

    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  4 місяці тому +1

      What is harvester?
      You can search for the Combine videos here: www.swiftful-thinking.com/search

    • @РауанБимат
      @РауанБимат 4 місяці тому

      @@SwiftfulThinking Sorry, I wanted to write a combine, typo

    • @РауанБимат
      @РауанБимат 4 місяці тому

      @@SwiftfulThinking thanks❤️

  • @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.

  • @penguinwolf0125
    @penguinwolf0125 2 роки тому

    Very useful!! Pleaseee more videos with new Async Await features 🙌🏻

  • @lizakryshkovskaya7412
    @lizakryshkovskaya7412 2 роки тому

    I'm enjoying a lot your way of teaching! Thank you! 🙏

  • @pangea6919
    @pangea6919 2 роки тому

    You the man Nick!

  • @mylaluna
    @mylaluna 9 місяців тому

    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.

  • @Prashant-7
    @Prashant-7 Рік тому

    13:38 🤯 crazyyy

  • @РомаРома-х7о
    @РомаРома-х7о 2 роки тому

    Thanks man for your videos! Easy to understand!

  • @asadchattha3470
    @asadchattha3470 9 місяців тому

    Thanks Nick❗

  • @andresraigoza2082
    @andresraigoza2082 2 роки тому

    Awesome playlist, thank you so much Nick

  • @libormatyas8167
    @libormatyas8167 7 місяців тому

    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

  • @Lvoonok
    @Lvoonok 2 роки тому

    Love your videos, thank you! How often do you use async Await in your apps?

  • @3ilz
    @3ilz 2 роки тому

    Great playlist, love everything

  • @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.

  • @FrantisekNovak55
    @FrantisekNovak55 2 роки тому

    Combine is apple's RxSwift/RxJava and Async Sequence is Kotlin Flow

  • @advindoor
    @advindoor 10 місяців тому

    Hi. In your video we use class for `AsyncPublisherDataManager`. How work with manager if replace `class` -> `actor`?

  • @tbg6nb
    @tbg6nb Рік тому

    17:15 and is it still in beta now ?

  • @MarkVolkmann
    @MarkVolkmann 2 роки тому

    Thanks so much for creating these!

  • @bjornlindner637
    @bjornlindner637 2 роки тому

    Another awesome tutorial, thanks for that.
    Is there no way to enable addData to tell the subscriber when it is finished?

  • @Den-ig5bs
    @Den-ig5bs 11 місяців тому

    Thanks for videos, appreciated

  • @KEVINKIM2586
    @KEVINKIM2586 2 роки тому

    Thx for the series!!

  • @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?

  • @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?

  • @Seepho
    @Seepho 2 роки тому

    We need a practice playlist to use concurrency!

  • @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

  • @SiamakAshrafi
    @SiamakAshrafi 2 роки тому

    Yes. Very good!

  • @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.

  • @pakaponwiwat2405
    @pakaponwiwat2405 Рік тому

    Thank you very much!😻

  • @serhii_rs
    @serhii_rs 2 роки тому

    Please make a video lesson for properly architecture of multi-language application.

  • @ShredzZ_SteamDeck_Gameplays
    @ShredzZ_SteamDeck_Gameplays 2 роки тому

    Hi, do you think iOS development is good if I want to be freelancer?

  • @SiamakAshrafi
    @SiamakAshrafi 2 роки тому

    My third time watching all these videos in the Playlist ... LOL

  • @ShooMPozitiV
    @ShooMPozitiV 2 роки тому +1

    Nick? Are you alright? ) I can’t wait any more for new videos ) No one do it better then you

    • @SwiftfulThinking
      @SwiftfulThinking  2 роки тому +1

      Im here bro! Just been busy 🥵

    • @ShooMPozitiV
      @ShooMPozitiV 2 роки тому

      @@SwiftfulThinking Ok) I’m patiently waiting. Do your best, bro 💪

  • @mdfasiuddinraihan2049
    @mdfasiuddinraihan2049 2 роки тому

    Can you please make bitbuket ci/cd tutorial for iOS?

  • @HUNTELAAR11W
    @HUNTELAAR11W 2 роки тому

    Incredibile video as always, how you reach this level of knowledge? Where you started?

  • @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.

  • @DmytroIpatii-cf2eq
    @DmytroIpatii-cf2eq 7 місяців тому

    🔥

  • @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?

  • @mdrashednizam7569
    @mdrashednizam7569 2 місяці тому

    awesome,

  • @ShooMPozitiV
    @ShooMPozitiV 2 роки тому

    What I will do without your lessons when you’ll cover all swift themes? )

  • @dugrut1325
    @dugrut1325 2 роки тому +1

    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"