summaryrefslogtreecommitdiff
path: root/SmartDeviceLink/SDLScrollableMessage.m
diff options
context:
space:
mode:
authorMuller, Alexander (A.) <amulle19@ford.com>2016-11-09 17:55:25 -0800
committerMuller, Alexander (A.) <amulle19@ford.com>2016-11-09 17:55:25 -0800
commit32691cb6e7dc1ccd28954e9f02a0455d956efee0 (patch)
treea1c44b3e9b409d9757eb0db07bd1de2bae807e97 /SmartDeviceLink/SDLScrollableMessage.m
parent95b55b5f722aae992bfe77cb0b998278f32ee526 (diff)
downloadsdl_ios-32691cb6e7dc1ccd28954e9f02a0455d956efee0.tar.gz
Migrated to using a category instead of adding the classes to the subclass of SDLRPCStruct.
Diffstat (limited to 'SmartDeviceLink/SDLScrollableMessage.m')
-rw-r--r--SmartDeviceLink/SDLScrollableMessage.m12
1 files changed, 6 insertions, 6 deletions
diff --git a/SmartDeviceLink/SDLScrollableMessage.m b/SmartDeviceLink/SDLScrollableMessage.m
index 5c687d551..11850b541 100644
--- a/SmartDeviceLink/SDLScrollableMessage.m
+++ b/SmartDeviceLink/SDLScrollableMessage.m
@@ -39,27 +39,27 @@
}
- (void)setScrollableMessageBody:(NSString *)scrollableMessageBody {
- [self setObject:scrollableMessageBody forName:SDLNameScrollableMessageBody];
+ [parameters sdl_setObject:scrollableMessageBody forName:SDLNameScrollableMessageBody];
}
- (NSString *)scrollableMessageBody {
- return [parameters objectForKey:SDLNameScrollableMessageBody];
+ return [parameters sdl_objectForName:SDLNameScrollableMessageBody];
}
- (void)setTimeout:(NSNumber<SDLInt> *)timeout {
- [self setObject:timeout forName:SDLNameTimeout];
+ [parameters sdl_setObject:timeout forName:SDLNameTimeout];
}
- (NSNumber<SDLInt> *)timeout {
- return [parameters objectForKey:SDLNameTimeout];
+ return [parameters sdl_objectForName:SDLNameTimeout];
}
- (void)setSoftButtons:(NSMutableArray<SDLSoftButton *> *)softButtons {
- [self setObject:softButtons forName:SDLNameSoftButtons];
+ [parameters sdl_setObject:softButtons forName:SDLNameSoftButtons];
}
- (NSMutableArray<SDLSoftButton *> *)softButtons {
- NSMutableArray<SDLSoftButton *> *array = [parameters objectForKey:SDLNameSoftButtons];
+ NSMutableArray<SDLSoftButton *> *array = [parameters sdl_objectForName:SDLNameSoftButtons];
if ([array count] < 1 || [[array objectAtIndex:0] isKindOfClass:SDLSoftButton.class]) {
return array;
} else {