How to use Generics in Swift | Advanced Learning #8

Поділитися
Вставка
  • Опубліковано 29 гру 2024

КОМЕНТАРІ • 46

  • @philippegden9826
    @philippegden9826 3 роки тому +26

    You put many self proclaimed Swift / SwiftUI bloggers/vloggers to shame! You deserve many more subs. I’m learning lots - thank you!

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

      🥲 haha I'm just glad you're liking the videos. The channel is slowly growing :) Thanks for the comment.

    • @bradkimbrell2707
      @bradkimbrell2707 2 роки тому +2

      @@SwiftfulThinking Could not agree more! I am posting on Twitter periodically to let others know. Content is top quality!

  • @kjlee7826
    @kjlee7826 3 роки тому +6

    Best generics explanation among what I have watched! You are so clear about what you are teaching! Thank you again.

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

    This is why I call you my SwiftUI Angle. Once I was going through a SwiftUI tutorial by apple that had something to do with a model called "LandmarksModel," and there I saw this . I didn't even understand that by then. But now I do, thanks to you.

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

    I can’t wait to see what is is in the pipes. This is one of the best Swift channels out there. No useless talk, lots of info! Great!

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

    This is the best advanced SwiftUI list I've ever seen. Thanks!

  • @ojtok79
    @ojtok79 3 роки тому +2

    Really fantastic start to explaining generics! Love it! Thank you.

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

    Nick, I find ALL your courses so incredibly useful. I only started Swift in early August and have progressed a lot because of you. I am developing (for my own use - not for public use) an iPhone app of the results of each of your lessons basic thru advanced into an app. This has made me fall down many holes and I am better for it. Keep producing the videos if you have time. Many thanks.

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

      Thanks for the feedback Frank! I’m glad you enjoyed the playlists... I’ll be returning to UA-cam soon 😅

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

    Really useful video, Nick. I especially like how you started with "CustomType", then moved to the "T" we frequently see in documentation and other code examples. Mystery solved.

  • @Mahadev-x7u
    @Mahadev-x7u 3 роки тому +3

    Thank you Nick...

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

    This is perfecto! Best Swift/SwiftUI Course ever i saw and i saw and payed many.

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

    Indeed how beautifully Nicks makes our head Swiftly interpret all that that's interesting, I clap for him also with Generics :)

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

    Very, very interesting video! I am looking forward to use those Generics in future projects. Nobody could explain generics to me in such a understandable way. Greetings from Poland!

  • @pasha7324
    @pasha7324 11 місяців тому

    As always, Nick, very valuable :)

  • @olhal5617
    @olhal5617 3 роки тому +2

    Thank you! As always - perfect explanation!

  • @TheseEyesSeeDarknessClearly7
    @TheseEyesSeeDarknessClearly7 Рік тому +1

    Is there a difference in creating the Generic View as
    struct GenericView : View
    and
    struct GenericView: View where T: View
    I used the second method and it appears to work the same. Just wondering if there might be some big difference I should know about.

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

    Thanks a lot nick , you are perfect in explanation

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

    Great job with explanation brother, thank you!

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

    Such good content! Really helping me gain production worthy knowledge! Thank you a ton!

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

    really helpful!! Thanks you so much

  • @tas_araf
    @tas_araf 3 роки тому +1

    Neat tutorial !

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

    how we can understand the type of generic? for example if it is bool use this method or if it is int use the other one

  • @ostanjaffcompany173
    @ostanjaffcompany173 3 роки тому

    Thanks a lot for this great tutorial.

  • @cinquain0
    @cinquain0 3 роки тому +1

    Good job Nick

  • @krakatoor
    @krakatoor 3 роки тому

    Super, as usual!

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

    let nick: Goat

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

    you are awesome

  • @abdulr6511
    @abdulr6511 3 роки тому

    Thanks

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

    AnyType instead of T..

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

    Great, but some confusion between my three brain cells. I'll have to review again.

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

    10: 16 It is better to say that it violates one of the SOLID principles.

  • @neneqixia4773
    @neneqixia4773 3 роки тому +1

    Thanks