Generics in Swift: Protocols with associated types

Поделиться
HTML-код
  • Опубликовано: 23 янв 2025

Комментарии • 29

  • @byhabiboff
    @byhabiboff 8 месяцев назад +1

    I really appreciate you, unfortunately there are very few resources on protocols. When some friends who are not our students ask for resources, I can proudly present your videos. You are great!

  • @Mahadev-x7u
    @Mahadev-x7u 3 года назад +3

    Awesome lesson... the Best way to show us how is it working in real application made new videos about how works together protocols and generic. Thank you so much. P. S. Of course SwiftUi applications 😅

  • @matthewkruk1455
    @matthewkruk1455 3 года назад +2

    Excellent presentation. You made understanding associated types easy to understand, thanks!

  • @valentine1925
    @valentine1925 2 года назад

    this is hight quality content bro, you explain it in easy way.

  • @danielcrompton7818
    @danielcrompton7818 6 месяцев назад

    Thanks so much for this! I’d also love to learn about what the some / any means, eg, some View

    • @swiftandtips
      @swiftandtips  6 месяцев назад +1

      Thank you! 😊
      Check out this ruclips.net/video/Wa8xTSHX_PM/видео.html if you want to learn more about any.
      And this ruclips.net/video/C4WQFU7QrmM/видео.html for opaque types. 👍

    • @danielcrompton7818
      @danielcrompton7818 6 месяцев назад

      @@swiftandtips oh wonderful, thank you so much!!

  • @SandeepTomar-n9w
    @SandeepTomar-n9w Год назад

    Awesome lesson.

  • @ganeshkhedkar3476
    @ganeshkhedkar3476 3 года назад

    Hello pitt is there any difference Protocol inheritance and Protocol extension if yes what ?

    • @swiftandtips
      @swiftandtips  3 года назад

      Hi @Ganesh, if I understand your question, you mean a difference between struct MyStack: Stack {…} vs extension MyStack: Stack {…}?
      If so, then no, both work in the same way, however using extension modularize your code and keep it cleaner, I recommend to use extension 👍.

  • @ilpacolo
    @ilpacolo Год назад

    amazing video

  • @jenncvega
    @jenncvega 3 года назад

    this helped me in my task, thank you

    • @swiftandtips
      @swiftandtips  3 года назад +1

      Hi Jenn, I’m glad the video helped you! 😄

  • @vladimirmoor
    @vladimirmoor 3 года назад

    Thanks for useful video!

  • @abymathew575
    @abymathew575 3 года назад +1

    really nice tutorial.

  • @RohitSharma-xu5tn
    @RohitSharma-xu5tn 2 года назад

    Awesome 👍

  • @tranhongquan3942
    @tranhongquan3942 2 года назад

    thanks you, this is really for helpfull!

  • @EEGAMINGYT1994
    @EEGAMINGYT1994 3 года назад

    Good work really its great video

  • @developerfriendly
    @developerfriendly 3 года назад

    very helpful, thanks a lot

  • @myrondulay8628
    @myrondulay8628 3 года назад

    Thank you

  • @dskygn
    @dskygn 6 месяцев назад

    Container should not be needed. It is a complete mess.