Bucketing Swift arrays in place

An interesting problemA while back, I had a large array of structs representing jobs, which I needed to hand off to different services depending upon various tests. I wanted to minimise memory usage so I had a few requirements: Don't allocate new arrays (they're slow to allocate and eat memory)…

The World’s First Swim App on The Apple Watch

June 25th 2015, Dan’s in his Speedos, and we’re about to try out the world’s first swimming app on an Apple Watch. We’re at the London Aquatics Centre, host of the 2012 Olympics. It’s the first time we’ve tried it in a 50m pool and we’d be lying if we said we weren’t a little nervous.…

Chasing the Sun

However, there comes a time in every programmer’s life (usually a few times a day actually) when you want to do something really hardcore. What could possibly be more hardcore than astrophysics?…

How To Roll Your Own Text Services

If a designer deals in pixels, an engineer deals in text - a lot of text! Fortunately OS X has some great features to easily automate text editing tasks which could otherwise be very tedious.…