Month: September 2016

Curious corners of Swift

Development

There's a weird niche feature of Swift that lets you use didSet on local variables. I found that you can use it to hide implementation details when calling Closure blocks similar to those you would use for a Domain-Specific Language.