summaryrefslogtreecommitdiff
path: root/SmartDeviceLink/SDLMenuParams.h
diff options
context:
space:
mode:
Diffstat (limited to 'SmartDeviceLink/SDLMenuParams.h')
-rw-r--r--SmartDeviceLink/SDLMenuParams.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/SmartDeviceLink/SDLMenuParams.h b/SmartDeviceLink/SDLMenuParams.h
index 042e67238..c5b0c81ff 100644
--- a/SmartDeviceLink/SDLMenuParams.h
+++ b/SmartDeviceLink/SDLMenuParams.h
@@ -9,6 +9,9 @@
*
* @since SDL 1.0
*/
+
+NS_ASSUME_NONNULL_BEGIN
+
@interface SDLMenuParams : SDLRPCStruct
- (instancetype)initWithMenuName:(NSString *)menuName;
@@ -21,7 +24,7 @@
*
* Optional, Integer, 0 - 2,000,000,000
*/
-@property (strong, nonatomic) NSNumber<SDLInt> *parentID;
+@property (nullable, strong, nonatomic) NSNumber<SDLInt> *parentID;
/**
* @abstract The position within the items of the parent Command Menu
@@ -35,7 +38,7 @@
*
* Optional, Integer, 0 - 1000
*/
-@property (strong, nonatomic) NSNumber<SDLInt> *position;
+@property (nullable, strong, nonatomic) NSNumber<SDLInt> *position;
/**
* @abstract the menu name which appears in menu, representing this command
@@ -45,3 +48,5 @@
@property (strong, nonatomic) NSString *menuName;
@end
+
+NS_ASSUME_NONNULL_END