Generate Equatable code in Swift

Here is my Swift 3 utility function for turning a live class/struct instance into Equatable protocol code for that type:

Here’s to never writing that kind of code ever again!

About Josh Smith

Josh Smith is a musician at heart, and a software developer by obsession. He lives in Arizona, plays classical music on the piano, jazz on the guitar, and enjoys brutally long rides on his bicycle. He has a wonderful wife & son and thinks that, in general, life is good.
This entry was posted in Uncategorized and tagged . Bookmark the permalink.

1 Response to Generate Equatable code in Swift

  1. Pingback: Dew Drop - February 1, 2017 (#2412) - Morning Dew

Comments are closed.