My example code from the iOS game seminar in WS13 at TU Munich.