Synthesized Hashable, What is it and how has it changed!

Similar to the Equatable protocol. Apple has now introduced synthesized support for the Hashable protocol. This means it will also generate hashValues for conforming types automatically. Previously it was a nightmare to implement. This is because you needed to return a unique hash for every single object.

Again it’s not very swift like. Time for a Change!

Would you not agree that  Synthesized Hashables and Equatables make our life now much easier and swifter :D. Simply by ensuring our types conform to Hashable or Equatable, we benefit from all the goodness that these two protocols have to offer!