Advanced Combine Publishers and Subscribers in SwiftUI | Advanced Learning #19

แชร์
ฝัง
  • เผยแพร่เมื่อ 2 ก.พ. 2025

ความคิดเห็น • 51

  • @ShooMPozitiV
    @ShooMPozitiV 3 ปีที่แล้ว +21

    For the quality of your information that you provide, you should not apologize about the noise. It seems to me that you could even speak in a whisper, I would still listen)

    • @SwiftfulThinking
      @SwiftfulThinking  3 ปีที่แล้ว +1

      Thanks Сергей!

    • @tibettenballs4962
      @tibettenballs4962 2 ปีที่แล้ว

      i find the whisper part a bit strange.. and even disturbing given certain cirCUMstances.

  • @BSharing09
    @BSharing09 2 ปีที่แล้ว +9

    To follow 2 hours in this video took me 4 days of practice and deep understanding, it's really worth it. Thank you so much.

    • @SwiftfulThinking
      @SwiftfulThinking  2 ปีที่แล้ว +1

      Thanks Quang! These are pretty difficult topics for anyone to learn. Glad this video helped!

  • @KatukendaHome
    @KatukendaHome 3 ปีที่แล้ว +5

    I am still coming from the binning of your videos. You are a great teacher. Have a good day and good luck. I will complete your all videos soon .

    • @SwiftfulThinking
      @SwiftfulThinking  3 ปีที่แล้ว +1

      Thank you 🥳 Let me know when you get up to this one!

  • @yugeras
    @yugeras ปีที่แล้ว

    Just WOW!!! Watching all videos posted earlier. I am lost for words! I watched and read quite substantial amount of videos and books and can say for sure these are best tutorials I have seen so far! The only downside of your videos I cannot watch tutorial of others 😂😂😂 now.

    • @SwiftfulThinking
      @SwiftfulThinking  ปีที่แล้ว

      Haha thanks! This comment made my day. I have some more videos coming soon dont worry 😂😅

    • @yugeras
      @yugeras ปีที่แล้ว

      @@SwiftfulThinking Looking forward to new videos 🥳🤩

  • @MustafaKhaledi
    @MustafaKhaledi 6 หลายเดือนก่อน

    This is the best lecture I watched about Combine, keep it up buddy, you're awesome.

  • @frederickjavalera558
    @frederickjavalera558 3 ปีที่แล้ว +6

    Simply amazing Nick, I've recently read the first several chapters of Practical Combine by Donny Wals and after watching your videos it has really cemented my understanding of areas that I didn't quite understand fully from just reading the book. You're a rockstar 🤘

    • @3ilz
      @3ilz 2 ปีที่แล้ว

      how was that book btw? Thinking of purchasing it.

    • @frederickjavalera558
      @frederickjavalera558 2 ปีที่แล้ว

      @@3ilz it’s really good. Some parts were a little over my head but overall it was really good. Worth the money imo.

  • @candylover2456
    @candylover2456 2 ปีที่แล้ว +1

    You're amazing! Literally Combine seemed such a far outta my reach kinda topic, like it'd be a serious struggle to understand, but you helped it so well as you always do for any topic. Thanks Nick :D

  • @hardipgajera2316
    @hardipgajera2316 3 ปีที่แล้ว +1

    love the way you are explaining all the thing from scratch 👍

  • @TheSpiralnotizblock
    @TheSpiralnotizblock 2 ปีที่แล้ว

    This was definitely one of the hardest videos for me to understand. I always played back, so I end up watching it for 3 hours. But I would say that I pretty much understand it well. You explained it very well as always. Thank you so much!

  • @Connor-pj2tg
    @Connor-pj2tg 3 ปีที่แล้ว +2

    Wow almost 2 hours, I'm excited to go through this video!

  • @arkemal
    @arkemal ปีที่แล้ว

    Very very cool tricks here. Thanks Nick! Doing a great job my friend!

  • @dev_jeongdaeri
    @dev_jeongdaeri 3 ปีที่แล้ว +3

    You are suuuuper awesome!!! 😎🚀
    Really thanks for a great content!!!

  • @3ilz
    @3ilz 2 ปีที่แล้ว

    long video but definitely worth it! good job

  • @martinhandl7663
    @martinhandl7663 3 ปีที่แล้ว +1

    Thanks a lot! Amazing presentation, I hope the future projects will be easier now for me.

  • @dimaipatjj4392
    @dimaipatjj4392 4 หลายเดือนก่อน

    Thank you Nick!

  • @tengizkiknadze5632
    @tengizkiknadze5632 3 ปีที่แล้ว

    You are the man of culture ! keep going !

  • @aybarsacar9375
    @aybarsacar9375 3 ปีที่แล้ว

    Thanks for the amazing content Nick! - this is very similar to RxJava

  • @vishnubishnoi7
    @vishnubishnoi7 3 ปีที่แล้ว +1

    Awesome, thanks a lot, really appreciate it 👏

  • @loganblevins8633
    @loganblevins8633 ปีที่แล้ว

    Nice video! I came here for the share operator.
    I want to prevent concurrent network requests using share.
    Any tips on where to find deep info on share?

  • @josemanuelortizsanchez4983
    @josemanuelortizsanchez4983 ปีที่แล้ว

    Thanks, Nick!!

  • @mhmtkrnlk
    @mhmtkrnlk 2 ปีที่แล้ว

    This combine more likely invented for server-side programming. Its very cool we can use this on mobile development.

  • @widiyantowidiyanto9223
    @widiyantowidiyanto9223 10 หลายเดือนก่อน

    thanks, i love reactive programming😊

  • @suryakantsharma6761
    @suryakantsharma6761 ปีที่แล้ว

    Super helpful bro :)

  • @morreke
    @morreke 2 ปีที่แล้ว +1

    For some reason my compactmap method was throwing an error. "Unable to infer type of a closure parameter ..." so had to explicitly add a type for the closure parameter.
    receiveValue: { [weak self] (returnedValue: String) in
    guard let self = self else { return }
    self.data.append(returnedValue)
    }

    • @ortezan4186
      @ortezan4186 2 ปีที่แล้ว

      .compactMap({ int -> String? in. Just define optional return type and compactmap kills all optionals -> swift is weird like that

  • @istalzer2
    @istalzer2 2 ปีที่แล้ว

    Hi Nick! Great video as always, thank you!
    Looking at solutions to manage realtime activity badges. Would you recommend Combine Pub / Sub to do that?

  • @oberageo
    @oberageo 3 ปีที่แล้ว

    Awesome Nick, some of us chose to sharpen our SwiftUI skills through your channel. But I notice in this course you are holding back on the ode to the lessons. Having the code at hand is really helpful when you have to rewatch certain sections of the TH-cam lessons that one did not fully grasp. Could you be kind enough as to give us that like before?

    • @SwiftfulThinking
      @SwiftfulThinking  3 ปีที่แล้ว +3

      Hey George, the full source code is now posted on my Github: github.com/SwiftfulThinking

  • @jaydice1
    @jaydice1 2 ปีที่แล้ว +1

    Just to let you know you can select multiple lines of code and then hit cmd+/ and it will comment all selected lines of code its actually a toggle too if you want to uncomment

  • @FrozenSeafood
    @FrozenSeafood ปีที่แล้ว

    I LOVE YOU NICK!!!!!!! You hear me? I Loooooove you bro

  • @Andriybiguniak
    @Andriybiguniak 2 ปีที่แล้ว

    👍🏻👍🏻👍🏻

  • @evgeshaky
    @evgeshaky 2 ปีที่แล้ว

    are you still in nyc?

  • @Nick-gj9gz
    @Nick-gj9gz 3 ปีที่แล้ว

    If we are using the basicPublisher, how can we achieve ".send(completion: .finished)" ?

    • @SwiftfulThinking
      @SwiftfulThinking  3 ปีที่แล้ว +1

      You can't sent a completion directly into the basic publisher. Which is why these new ones come in handy haha

  • @alexeylobankov
    @alexeylobankov 2 ปีที่แล้ว

    Thanks a lot for this video!
    Btw I see you also have this weired folding bug, where Xcode formats the text in a wrong way. Are you still facing it today?

  • @stolenhen
    @stolenhen 2 ปีที่แล้ว

    Honestly I didn't understand why (when combineLatest) 9 is printed? If-else statement allow boolPublisher emit value only if index is between 4 and 8 (but not include 8). It seems to be 9 number doesn't have to be printed, because index of this number is 8 and not correspond with if-else statement.

  • @satyadodda2386
    @satyadodda2386 2 ปีที่แล้ว

    🤯

  • @calebyates253
    @calebyates253 ปีที่แล้ว

    56:50 editing mistake

  • @adelnoppert370
    @adelnoppert370 ปีที่แล้ว

    nick wtf 5 am....