Overnight hack from iOS Dev UK 2012