summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrettyWhite <geekman3454@protonmail.com>2017-07-20 14:15:04 -0400
committerBrettyWhite <geekman3454@protonmail.com>2017-07-20 14:15:04 -0400
commitedfa9bf229b7e14bed055fbeee70664c24d64b39 (patch)
tree55c3a185a4a49906ad81379552477c5a5a8e4285
parent54117e1a2734a9b5d797327f381f83fe8e334b31 (diff)
downloadsdl_ios-edfa9bf229b7e14bed055fbeee70664c24d64b39.tar.gz
removed old instancetype init
-rw-r--r--SmartDeviceLink/SDLRegisterAppInterface.m2
-rw-r--r--SmartDeviceLink/SDLSyncMsgVersion.h2
2 files changed, 1 insertions, 3 deletions
diff --git a/SmartDeviceLink/SDLRegisterAppInterface.m b/SmartDeviceLink/SDLRegisterAppInterface.m
index d454f4355..c9e6850d7 100644
--- a/SmartDeviceLink/SDLRegisterAppInterface.m
+++ b/SmartDeviceLink/SDLRegisterAppInterface.m
@@ -59,7 +59,7 @@
self.isMediaApplication = @(isMediaApp);
self.ttsName = [ttsName copy];
self.vrSynonyms = [vrSynonyms copy];
- self.syncMsgVersion = [[SDLSyncMsgVersion alloc] initWithMajorVersion:1 minorVersion:0];
+ self.syncMsgVersion = [[SDLSyncMsgVersion alloc] initWithMajorVersion:1 minorVersion:0 patchVersion:0];
self.appInfo = [SDLAppInfo currentAppInfo];
self.deviceInfo = [SDLDeviceInfo currentDevice];
self.hashID = resumeHash;
diff --git a/SmartDeviceLink/SDLSyncMsgVersion.h b/SmartDeviceLink/SDLSyncMsgVersion.h
index 8d9d058be..abfacf5c5 100644
--- a/SmartDeviceLink/SDLSyncMsgVersion.h
+++ b/SmartDeviceLink/SDLSyncMsgVersion.h
@@ -24,8 +24,6 @@
- (instancetype)initWithDictionary:(NSMutableDictionary *)dict;
// TODO: (Alex M.)[2016-12-1] Change from NSInteger to UInt8
-- (instancetype)initWithMajorVersion:(NSInteger)majorVersion minorVersion:(NSInteger)minorVersion;
-
- (instancetype)initWithMajorVersion:(NSInteger)majorVersion minorVersion:(NSInteger)minorVersion patchVersion:(NSInteger)patchVersion;
/**