summaryrefslogtreecommitdiff
path: root/SmartDeviceLink/SDLAddSubMenu.m
diff options
context:
space:
mode:
Diffstat (limited to 'SmartDeviceLink/SDLAddSubMenu.m')
-rw-r--r--SmartDeviceLink/SDLAddSubMenu.m8
1 files changed, 6 insertions, 2 deletions
diff --git a/SmartDeviceLink/SDLAddSubMenu.m b/SmartDeviceLink/SDLAddSubMenu.m
index 02a52b8a5..4f8ef5109 100644
--- a/SmartDeviceLink/SDLAddSubMenu.m
+++ b/SmartDeviceLink/SDLAddSubMenu.m
@@ -5,6 +5,8 @@
#import "NSMutableDictionary+Store.h"
#import "SDLNames.h"
+NS_ASSUME_NONNULL_BEGIN
+
@implementation SDLAddSubMenu
- (instancetype)init {
@@ -45,11 +47,11 @@
return [parameters sdl_objectForName:SDLNameMenuId];
}
-- (void)setPosition:(NSNumber<SDLInt> *)position {
+- (void)setPosition:(nullable NSNumber<SDLInt> *)position {
[parameters sdl_setObject:position forName:SDLNamePosition];
}
-- (NSNumber<SDLInt> *)position {
+- (nullable NSNumber<SDLInt> *)position {
return [parameters sdl_objectForName:SDLNamePosition];
}
@@ -62,3 +64,5 @@
}
@end
+
+NS_ASSUME_NONNULL_END