Hashable, Comparable, Equatable in Swift iOS

Поділитися
Вставка
  • Опубліковано 2 сер 2024
  • Hello, Do you want to compare two classes/structs we can use these three different types of protocol. Spend your valuable time on this worth content.
    Thanks
  • Наука та технологія

КОМЕНТАРІ • 3

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

    Nice work😁

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

    Good job Bro.

  • @LebenWerden
    @LebenWerden 5 місяців тому

    Hello,
    struct AAA: Equatable {
    }
    Why is not necassary to implement the static func == ? If you look in the Swift Documentationthe static func is REQUIRED.