Enumerating The Ways I Love Swift Enumerations
www.caseyliss.com/2016/2/27/swift-enums
From the page
Saved with the link. Notes from 2007 to 2016 are mostly the page's own words, so this is probably an excerpt.
Note the change in CheckedOut: now it looks like a function call. Though syntactically a little curious, CheckedOut is still just an enumeration value. However, it has a super power: it carries with it an associated value.
Saved the same week · 24 links that week
- The state of gun violence in the US, explained in 7 minutes - Vox
- Design As Operations, Operations As Design — Medium
- You don't have problems, only projects
- I deleted my Facebook app (and it’s the best decision I’ve made in a long time) — Higher Thoughts
- Enable Amazon API Gateway Custom Authorization - Amazon API Gateway