Marius Serban iOS Apps maker

A purpose for Equatable and Hashable in Swift

There is a lot written on the subject of object equality and object hashes covering it in depth, but I wanted to summarise it and to frame it in the context of Swift. This article is not focused on how to implement these protocols, but more focused on why you would want to implement them.