summaryrefslogtreecommitdiff
path: root/SmartDeviceLink/SDLMenuParams.h
diff options
context:
space:
mode:
Diffstat (limited to 'SmartDeviceLink/SDLMenuParams.h')
-rw-r--r--SmartDeviceLink/SDLMenuParams.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/SmartDeviceLink/SDLMenuParams.h b/SmartDeviceLink/SDLMenuParams.h
index 0c76a7e16..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) NSNumber<SDLInt> *parentID;
+@property (nullable, strong, nonatomic) NSNumber<SDLInt> *parentID;
/**
* @abstract The position within the items of the parent Command Menu
@@ -35,13 +38,15 @@
*
* Optional, Integer, 0 - 1000
*/
-@property (strong) NSNumber<SDLInt> *position;
+@property (nullable, strong, nonatomic) NSNumber<SDLInt> *position;
/**
* @abstract the menu name which appears in menu, representing this command
*
* Required, max length 500 characters
*/
-@property (strong) NSString *menuName;
+@property (strong, nonatomic) NSString *menuName;
@end
+
+NS_ASSUME_NONNULL_END