diff options
author | Muller, Alexander (A.) <amulle19@ford.com> | 2016-11-09 17:55:25 -0800 |
---|---|---|
committer | Muller, Alexander (A.) <amulle19@ford.com> | 2016-11-09 17:55:25 -0800 |
commit | 32691cb6e7dc1ccd28954e9f02a0455d956efee0 (patch) | |
tree | a1c44b3e9b409d9757eb0db07bd1de2bae807e97 /SmartDeviceLink/SDLScrollableMessage.m | |
parent | 95b55b5f722aae992bfe77cb0b998278f32ee526 (diff) | |
download | sdl_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.m | 12 |
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 { |