Swift 4 brings a cornucopia of welcome (and a few unwelcome) updates. One of the ones I am excited about is the introduction of…
I’m going to let you in on a dirty little secret. Sometimes I think longingly about React Native.
Enums in Swift are great—love me some sweet, sweet enums. However, as with all great things, one can go too far.
Let’s look at the following contrived example: