diff options
author | Joel Fischer <joeljfischer@gmail.com> | 2018-10-03 11:37:42 -0400 |
---|---|---|
committer | Joel Fischer <joeljfischer@gmail.com> | 2018-10-03 11:37:42 -0400 |
commit | 4520e3ad30270a2b3b0b3a611d9ae38755ffc104 (patch) | |
tree | 6edd9a954c33a1b7559aa93dca3cd9a273d07d4f | |
parent | 825f4f20ead51c95df770247116e18ff10b679a4 (diff) | |
download | sdl_ios-4520e3ad30270a2b3b0b3a611d9ae38755ffc104.tar.gz |
Ignore a deprecated API usage
-rw-r--r-- | SmartDeviceLink/SDLRegisterAppInterface.m | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/SmartDeviceLink/SDLRegisterAppInterface.m b/SmartDeviceLink/SDLRegisterAppInterface.m index 915e06231..cf23d1be6 100644 --- a/SmartDeviceLink/SDLRegisterAppInterface.m +++ b/SmartDeviceLink/SDLRegisterAppInterface.m @@ -99,7 +99,11 @@ NS_ASSUME_NONNULL_BEGIN } - (instancetype)initWithAppName:(NSString *)appName appId:(NSString *)appId fullAppId:(nullable NSString *)fullAppId languageDesired:(SDLLanguage)languageDesired isMediaApp:(BOOL)isMediaApp appTypes:(NSArray<SDLAppHMIType> *)appTypes shortAppName:(nullable NSString *)shortAppName ttsName:(nullable NSArray<SDLTTSChunk *> *)ttsName vrSynonyms:(nullable NSArray<NSString *> *)vrSynonyms hmiDisplayLanguageDesired:(SDLLanguage)hmiDisplayLanguageDesired resumeHash:(nullable NSString *)resumeHash dayColorScheme:(nullable SDLTemplateColorScheme *)dayColorScheme nightColorScheme:(nullable SDLTemplateColorScheme *)nightColorScheme { +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wdeprecated-declarations" self = [self initWithAppName:appName appId:appId languageDesired:languageDesired isMediaApp:isMediaApp appTypes:appTypes shortAppName:shortAppName ttsName:ttsName vrSynonyms:vrSynonyms hmiDisplayLanguageDesired:hmiDisplayLanguageDesired resumeHash:resumeHash]; +#pragma clang diagnostic pop + if (!self) { return nil; } self.fullAppID = fullAppId; |