Updated Swift sample project to get ready for the release of iOS 8.