swift


Cool Swift Tricks 4: That’s an Order

This is the fourth of four posts about random little Swiftisms for you to amaze your friends and confound your enemies. The Swift language has a lot of cool features hidden away in its nooks and crannies, but most real developers are too busy getting real work done to keep up with all of them; …

Cool Swift Tricks 4: That’s an Order Read More »


Cool Swift Tricks 3: The Garden of Forking Key Paths

This is the third of four posts about random little Swiftisms for you to amaze your friends and confound your enemies. All of these came up in my real code recently, and they really did surprise one or more of my co-workers. The Swift language has a lot of cool features hidden away in its …

Cool Swift Tricks 3: The Garden of Forking Key Paths Read More »


The Joys of Logging

It’s no secret that I’m a huge fan of what I call “caveman” debugging, also known as logging. Real debugging involves breakpoints, stepping, examining the call stack, looking at variables, talking to LLDB; it’s powerful stuff, and should be part of every Xcode programmer’s toolbox. But sometimes the simplest way is to drop yourself a …

The Joys of Logging Read More »


Cool Swift Tricks 2: No Escape

This is the second of four posts about random little Swiftisms for you to amaze your friends and confound your enemies. All of these came up in my real code recently, and they really did surprise one or more of my co-workers. The Swift language has a lot of cool features hidden away in its …

Cool Swift Tricks 2: No Escape Read More »


Cool Swift Tricks 1: Mirror, Mirror

This is the first of four posts about random little Swift tips and tricks for you to amaze your friends and confound your enemies. All of these came up in my real code recently, and they really did surprise one or more of my co-workers. The Swift language has a lot of cool features hidden …

Cool Swift Tricks 1: Mirror, Mirror Read More »