diff options
| author | Muller, Alexander (A.) <amulle19@ford.com> | 2016-11-06 16:03:10 -0800 |
|---|---|---|
| committer | Muller, Alexander (A.) <amulle19@ford.com> | 2016-11-06 16:03:10 -0800 |
| commit | cc7ff76d64ddf59cb9ecd672cb31ade444bed307 (patch) | |
| tree | 32ca3dfdc6fb6a493c34296f49fa03af9d763e2f /SmartDeviceLink/SDLDeleteSubMenu.m | |
| parent | c5c4bf31ffe06e38fc7f19b8f3df4a1cc6137ca0 (diff) | |
| download | sdl_ios-cc7ff76d64ddf59cb9ecd672cb31ade444bed307.tar.gz | |
Updated setter/getter for all rpcs and structs to use convenience methods.
Diffstat (limited to 'SmartDeviceLink/SDLDeleteSubMenu.m')
| -rw-r--r-- | SmartDeviceLink/SDLDeleteSubMenu.m | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/SmartDeviceLink/SDLDeleteSubMenu.m b/SmartDeviceLink/SDLDeleteSubMenu.m index b167d16f9..eed5a3e7a 100644 --- a/SmartDeviceLink/SDLDeleteSubMenu.m +++ b/SmartDeviceLink/SDLDeleteSubMenu.m @@ -26,11 +26,7 @@ } - (void)setMenuID:(NSNumber<SDLInt> *)menuID { - if (menuID != nil) { - [parameters setObject:menuID forKey:SDLNameMenuId]; - } else { - [parameters removeObjectForKey:SDLNameMenuId]; - } + [self setObject:menuID forName:SDLNameMenuId]; } - (NSNumber<SDLInt> *)menuID { |
