diff options
Diffstat (limited to 'SmartDeviceLink/SDLMenuParams.m')
-rw-r--r-- | SmartDeviceLink/SDLMenuParams.m | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/SmartDeviceLink/SDLMenuParams.m b/SmartDeviceLink/SDLMenuParams.m index e7998d06d..873004150 100644 --- a/SmartDeviceLink/SDLMenuParams.m +++ b/SmartDeviceLink/SDLMenuParams.m @@ -39,7 +39,7 @@ NS_ASSUME_NONNULL_BEGIN } - (nullable NSNumber<SDLInt> *)parentID { - return [store sdl_objectForName:SDLRPCParameterNameParentId]; + return [store sdl_objectForName:SDLRPCParameterNameParentId ofClass:NSNumber.class]; } - (void)setPosition:(nullable NSNumber<SDLInt> *)position { @@ -47,7 +47,7 @@ NS_ASSUME_NONNULL_BEGIN } - (nullable NSNumber<SDLInt> *)position { - return [store sdl_objectForName:SDLRPCParameterNamePosition]; + return [store sdl_objectForName:SDLRPCParameterNamePosition ofClass:NSNumber.class]; } - (void)setMenuName:(NSString *)menuName { @@ -55,7 +55,7 @@ NS_ASSUME_NONNULL_BEGIN } - (NSString *)menuName { - return [store sdl_objectForName:SDLRPCParameterNameMenuName]; + return [store sdl_objectForName:SDLRPCParameterNameMenuName ofClass:NSString.class]; } @end |