Updated project for iOS 6 and updated example