xcode 6 iOS 8

converting to xcode 6 iOS 8