Slowing It Down and Speeding It Up

I recently learned that it's possible adjust the speed property of CALayer objects to slow down (or speed up) the animations on that layer and all its sublayers. Applying it to an app's window will slow down every animation. // Slows down all animations to 10% of regular speed! [[[UIApplication sharedApplication] windows] firstObject].layer.speed = 0.1; It's also... Continue Reading →

Unboxing JSON with Unbox

John Sundell has put together a really handy Swift library called Unbox. It provides a straightforward interface for marshalling JSON data into Swift data models and it supports all the standard JSON types out of the box. I like it better than the approach taken in ObjectMapper because Unbox supports immutable (let) properties whereas ObjectMapper currently... Continue Reading →

Blog at WordPress.com.

Up ↑