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/SDLAlert.m | |
parent | e6e84cc8c23609ab286c64a2c6a3037313f29908 (diff) | |
download | sdl_ios-bd886c5d29cc2b907c2b42d2833d8e1f879535e5.tar.gz |
Migrated initWithDictionary to take non-mutable dictionary as parameter.
Diffstat (limited to 'SmartDeviceLink/SDLAlert.m')
-rw-r--r-- | SmartDeviceLink/SDLAlert.m | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/SmartDeviceLink/SDLAlert.m b/SmartDeviceLink/SDLAlert.m index ddc7fdc3a..c68b29b4b 100644 --- a/SmartDeviceLink/SDLAlert.m +++ b/SmartDeviceLink/SDLAlert.m @@ -14,12 +14,6 @@ return self; } -- (instancetype)initWithDictionary:(NSMutableDictionary *)dict { - if (self = [super initWithDictionary:dict]) { - } - return self; -} - - (void)setAlertText1:(NSString *)alertText1 { if (alertText1 != nil) { [parameters setObject:alertText1 forKey:NAMES_alertText1]; @@ -71,7 +65,7 @@ } else { NSMutableArray *newList = [NSMutableArray arrayWithCapacity:[array count]]; for (NSDictionary *dict in array) { - [newList addObject:[[SDLTTSChunk alloc] initWithDictionary:(NSMutableDictionary *)dict]]; + [newList addObject:[[SDLTTSChunk alloc] initWithDictionary:(NSDictionary *)dict]]; } return newList; } @@ -128,7 +122,7 @@ } else { NSMutableArray *newList = [NSMutableArray arrayWithCapacity:[array count]]; for (NSDictionary *dict in array) { - [newList addObject:[[SDLSoftButton alloc] initWithDictionary:(NSMutableDictionary *)dict]]; + [newList addObject:[[SDLSoftButton alloc] initWithDictionary:(NSDictionary *)dict]]; } return newList; } |