All posts filed under: Development

Hacking my shell prompt so I make fewer mistakes working with Xcode projects

Development / iOS

Making mistakes is how we learn. But not all mistakes are equal, and making the same one over and over is not learning. Often I run two or more different Xcode builds on the same machine, either because a client project can’t yet build on the latest Xcode release, or because we’re in a new Xcode beta period. Of course I forget which one I am running, especially if switching between projects multiple times in […]

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.