Updated iOS example for iOS 8 and Xcode 6

Slight update to allow the tutorial to build in Xcode 6 for an iOS 8 target.