Clicky

iOS Dev Nugget 201 Swift Pattern Matching

.

Need to run a code review on your codebase? Hire me

I was going to write a tip about pattern matching using enums, but realized that someone else has already done a great job, including other forms of pattern matching in Swift, and not only against enums. So I'll point you to this post by Benedikt Terhechte :)

Enumerations are powerful in Swift, I expect to be writing more about using them over here.


Your feedback is valuable: Do you want more nuggets like this?   Yes   or   No

.

.

Like this and want such iOS dev nuggets to be emailed to you, weekly?

Sign Me Up! or follow @iosdevnuggets on Twitter

.

View archives of past issues