diff options
author | Joel Fischer <joeljfischer@gmail.com> | 2020-06-05 14:02:47 -0400 |
---|---|---|
committer | Joel Fischer <joeljfischer@gmail.com> | 2020-06-05 14:02:47 -0400 |
commit | 241393ebec5d25e059c3c9267706ef74a59007cd (patch) | |
tree | 03acebbf16025036e6b121144641b5d4a1609ed6 | |
parent | 79d5d38c5b2ba53de532b9c23e2c6aff76890911 (diff) | |
download | sdl_ios-feature/issue-1606-sdl-0289-set-language-separately.tar.gz |
Fix deprecated implementation warningfeature/issue-1606-sdl-0289-set-language-separately
-rw-r--r-- | Example Apps/Example ObjC/ProxyManager.m | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Example Apps/Example ObjC/ProxyManager.m b/Example Apps/Example ObjC/ProxyManager.m index 17b44568a..2c5c05357 100644 --- a/Example Apps/Example ObjC/ProxyManager.m +++ b/Example Apps/Example ObjC/ProxyManager.m @@ -290,6 +290,8 @@ NS_ASSUME_NONNULL_BEGIN } } +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wdeprecated-implementations" - (nullable SDLLifecycleConfigurationUpdate *)managerShouldUpdateLifecycleToLanguage:(SDLLanguage)language { SDLLifecycleConfigurationUpdate *update = [[SDLLifecycleConfigurationUpdate alloc] init]; @@ -306,6 +308,7 @@ NS_ASSUME_NONNULL_BEGIN update.ttsName = [SDLTTSChunk textChunksFromString:update.appName]; return update; } +#pragma clang diagnostic pop - (nullable SDLLifecycleConfigurationUpdate *)managerShouldUpdateLifecycleToLanguage:(SDLLanguage)language hmiLanguage:(SDLLanguage)hmiLanguage { SDLLifecycleConfigurationUpdate *update = [[SDLLifecycleConfigurationUpdate alloc] init]; |