diff options
author | Joel Fischer <joeljfischer@gmail.com> | 2017-01-20 09:44:46 -0500 |
---|---|---|
committer | Joel Fischer <joeljfischer@gmail.com> | 2017-01-20 09:44:46 -0500 |
commit | ed3402140610fcd50f858baf7ebaafbfcb5ec2b2 (patch) | |
tree | 3db45b87582e8f6658bad9fff54114bbb344381a /SmartDeviceLink/SDLScrollableMessage.m | |
parent | 36dc4c265062deb354358006156c4dd35b049332 (diff) | |
download | sdl_ios-ed3402140610fcd50f858baf7ebaafbfcb5ec2b2.tar.gz |
RPC arrays are now immutable
Diffstat (limited to 'SmartDeviceLink/SDLScrollableMessage.m')
-rw-r--r-- | SmartDeviceLink/SDLScrollableMessage.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/SmartDeviceLink/SDLScrollableMessage.m b/SmartDeviceLink/SDLScrollableMessage.m index f156e5453..f9c92c796 100644 --- a/SmartDeviceLink/SDLScrollableMessage.m +++ b/SmartDeviceLink/SDLScrollableMessage.m @@ -57,11 +57,11 @@ NS_ASSUME_NONNULL_BEGIN return [parameters sdl_objectForName:SDLNameTimeout]; } -- (void)setSoftButtons:(nullable NSMutableArray<SDLSoftButton *> *)softButtons { +- (void)setSoftButtons:(nullable NSArray<SDLSoftButton *> *)softButtons { [parameters sdl_setObject:softButtons forName:SDLNameSoftButtons]; } -- (nullable NSMutableArray<SDLSoftButton *> *)softButtons { +- (nullable NSArray<SDLSoftButton *> *)softButtons { return [parameters sdl_objectsForName:SDLNameSoftButtons ofClass:SDLSoftButton.class]; } |