Sample code for the lightning talk @ SwiftCrunch Nov 16, 2014