diff options
author | Muller, Alexander (A.) <amulle19@ford.com> | 2016-09-22 16:25:39 -0700 |
---|---|---|
committer | Muller, Alexander (A.) <amulle19@ford.com> | 2016-09-22 16:25:39 -0700 |
commit | bd886c5d29cc2b907c2b42d2833d8e1f879535e5 (patch) | |
tree | 7b6d016983c43211749ac0da2185d7ba0e6947fb /SmartDeviceLink/SDLTurn.m | |
parent | e6e84cc8c23609ab286c64a2c6a3037313f29908 (diff) | |
download | sdl_ios-bd886c5d29cc2b907c2b42d2833d8e1f879535e5.tar.gz |
Migrated initWithDictionary to take non-mutable dictionary as parameter.
Diffstat (limited to 'SmartDeviceLink/SDLTurn.m')
-rw-r--r-- | SmartDeviceLink/SDLTurn.m | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/SmartDeviceLink/SDLTurn.m b/SmartDeviceLink/SDLTurn.m index 875fa2e73..a91ab68fd 100644 --- a/SmartDeviceLink/SDLTurn.m +++ b/SmartDeviceLink/SDLTurn.m @@ -9,18 +9,6 @@ @implementation SDLTurn -- (instancetype)init { - if (self = [super init]) { - } - return self; -} - -- (instancetype)initWithDictionary:(NSMutableDictionary *)dict { - if (self = [super initWithDictionary:dict]) { - } - return self; -} - - (void)setNavigationText:(NSString *)navigationText { if (navigationText != nil) { [store setObject:navigationText forKey:NAMES_navigationText]; @@ -46,7 +34,7 @@ if (obj == nil || [obj isKindOfClass:SDLImage.class]) { return (SDLImage *)obj; } else { - return [[SDLImage alloc] initWithDictionary:(NSMutableDictionary *)obj]; + return [[SDLImage alloc] initWithDictionary:(NSDictionary *)obj]; } } |