Quick tip #3: Equatable enums in Swift
Enumerations is one of Swift's coolest features for its versatility in representing a group of related values. They can become even more versatile and expressive combined with protocols such as Equatable
. This short article shows some tricks to do so.
Published at: 23 February 2021