summaryrefslogtreecommitdiff
path: root/SmartDeviceLink/SDLTouchEvent.m
diff options
context:
space:
mode:
authorMuller, Alexander (A.) <amulle19@ford.com>2016-09-22 16:25:39 -0700
committerMuller, Alexander (A.) <amulle19@ford.com>2016-09-22 16:25:39 -0700
commitbd886c5d29cc2b907c2b42d2833d8e1f879535e5 (patch)
tree7b6d016983c43211749ac0da2185d7ba0e6947fb /SmartDeviceLink/SDLTouchEvent.m
parente6e84cc8c23609ab286c64a2c6a3037313f29908 (diff)
downloadsdl_ios-bd886c5d29cc2b907c2b42d2833d8e1f879535e5.tar.gz
Migrated initWithDictionary to take non-mutable dictionary as parameter.
Diffstat (limited to 'SmartDeviceLink/SDLTouchEvent.m')
-rw-r--r--SmartDeviceLink/SDLTouchEvent.m14
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;
}