Updating for XCode 5, Fixing deprecation warnings when using iOS 7 as deploymet target