Equatable protocol in swift hindi tutorial

Поделиться
HTML-код
  • Опубликовано: 19 сен 2024
  • Equatable protocol in swift, lets you use the equality operator for custom types in swift. This equatable protocol swift tutorial displays simple examples to as to how to use equatable protocol and answers the question of what is equatable protocol in swift
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ✅ Subscribe to the channel and stay ahead of everyone by following the right way for writing clean code in swift. 🔥🔥🔥🔥🔥
    🔗Click on the link to subscribe: www.youtube.co...
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    -----------------------------------------------------------------------------------------------------------------------
    📥 Download the source code from
    Github: github.com/cod...
    Google Drive: drive.google.c...
    -----------------------------------------------------------------------------------------------------------------------
    🎶 Royalty-free Music: www.bensound.com
    ############################################
    Connect with me on social media
    📧: codecat15@gmail.com
    🐦: / codecat15
    Facebook: / code.cat.792
    Github: github.com/cod...
    ###########################################
    #equatableInSwift #equatableProtocol #equatableProtocolExample

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

  • @AshwaniKumar-ew1cn
    @AshwaniKumar-ew1cn Месяц назад

    Awesome explanation!!! Thanks @CodeCat

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

    easily understood,thanks man!

  • @jasonroy4526
    @jasonroy4526 2 года назад +1

    Your explanation are really awesome. 👍🙂

  • @nainasoni7831
    @nainasoni7831 4 года назад +1

    Easy, Clean and well explained :) (y)

    • @CodeCat15
      @CodeCat15  4 года назад +1

      Thank you Naina, do share it with your iOS group and feel free to ask questions on this topic

  • @khuss3890
    @khuss3890 4 года назад +1

    Thanks @CodeCat15
    we are waiting for more videos of swiftUI like API calling , UI Animation etc
    Thanks in advance

    • @CodeCat15
      @CodeCat15  4 года назад

      Hello Khushal welcome to the channel, i too was thinking the same about swiftUI will release videos on this in the coming days for this

  • @vamsi3877
    @vamsi3877 4 года назад +1

    Well explained 👏

    • @CodeCat15
      @CodeCat15  4 года назад

      Thanks Vamsi, feel free to ask questions on this topic and do share it with your iOS group

  • @LebenWerden
    @LebenWerden 7 месяцев назад

    Hello,
    struct AAA: Equatable {
    var a = 1
    }
    Why is not necassary ti implement the static func == ? If you look in the Swift Documentation there is REQUIRED.

  • @chaithanyakirant
    @chaithanyakirant 4 года назад +1

    Good explanation Ravi...
    can we use Equatable protocol with classes?

    • @CodeCat15
      @CodeCat15  4 года назад +2

      Yes you can, protocols are compatible with class and struct both. Feel free to ask more questions and do share this with your ios group

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

    Any videos related to hashable and comparable protocols.

  • @Deepakkumar-bi8hf
    @Deepakkumar-bi8hf 4 года назад +1

    Ravi how we can compare all values of object do we need to write like id == id and name == name for all values

    • @CodeCat15
      @CodeCat15  4 года назад

      Hey @Deepak do you want to compare all the properties value of the two object with each other? If yes then just use the equatable protocol as shown in the video coz that way its much easy.
      If not then can you please elaborate the question.

  • @pratikgajbhiye5354
    @pratikgajbhiye5354 4 года назад +1

    Please make the video on Notification observer

    • @CodeCat15
      @CodeCat15  4 года назад

      I wanted to make that after the observer pattern video but then it skipped my mind, let me finish the core data tutorial this week and try to slide it in between the week, if it’s something urgent that you are working on then drop an email with what you are trying to achieve will discuss there

    • @pratikgajbhiye5354
      @pratikgajbhiye5354 4 года назад +1

      @@CodeCat15 not so urgent, post video as per your schedule, with great example

    • @CodeCat15
      @CodeCat15  4 года назад

      Thank you Pratik 🙏