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/SDLTouchEvent.m | |
parent | e6e84cc8c23609ab286c64a2c6a3037313f29908 (diff) | |
download | sdl_ios-bd886c5d29cc2b907c2b42d2833d8e1f879535e5.tar.gz |
Migrated initWithDictionary to take non-mutable dictionary as parameter.
Diffstat (limited to 'SmartDeviceLink/SDLTouchEvent.m')
-rw-r--r-- | SmartDeviceLink/SDLTouchEvent.m | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/SmartDeviceLink/SDLTouchEvent.m b/SmartDeviceLink/SDLTouchEvent.m index e54e8b79e..4f3b97176 100644 --- a/SmartDeviceLink/SDLTouchEvent.m +++ b/SmartDeviceLink/SDLTouchEvent.m @@ -9,18 +9,6 @@ @implementation SDLTouchEvent -- (instancetype)init { - if (self = [super init]) { - } - return self; -} - -- (instancetype)initWithDictionary:(NSMutableDictionary *)dict { - if (self = [super initWithDictionary:dict]) { - } - return self; -} - - (void)setTouchEventId:(NSNumber *)touchEventId { if (touchEventId != nil) { [store setObject:touchEventId forKey:NAMES_id]; @@ -60,7 +48,7 @@ } else { NSMutableArray *newList = [NSMutableArray arrayWithCapacity:[array count]]; for (NSDictionary *dict in array) { - [newList addObject:[[SDLTouchCoord alloc] initWithDictionary:(NSMutableDictionary *)dict]]; + [newList addObject:[[SDLTouchCoord alloc] initWithDictionary:(NSDictionary *)dict]]; } return newList; } |