diff options
Diffstat (limited to 'SmartDeviceLink/SDLSubscribeButton.h')
-rw-r--r-- | SmartDeviceLink/SDLSubscribeButton.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/SmartDeviceLink/SDLSubscribeButton.h b/SmartDeviceLink/SDLSubscribeButton.h index d964ea244..6b3465636 100644 --- a/SmartDeviceLink/SDLSubscribeButton.h +++ b/SmartDeviceLink/SDLSubscribeButton.h @@ -58,6 +58,9 @@ * Since SmartDeviceLink 1.0<br/> * See SDLUnsubscribeButton */ + +NS_ASSUME_NONNULL_BEGIN + @interface SDLSubscribeButton : SDLRPCRequest <SDLRequestHandler> /** @@ -67,9 +70,9 @@ * * @return An SDLSubscribeButton object */ -- (instancetype)initWithHandler:(SDLRPCNotificationHandler)handler; +- (instancetype)initWithHandler:(nullable SDLRPCNotificationHandler)handler; -- (instancetype)initWithButtonName:(SDLButtonName)buttonName handler:(SDLRPCNotificationHandler)handler; +- (instancetype)initWithButtonName:(SDLButtonName)buttonName handler:(nullable SDLRPCNotificationHandler)handler; /** * A handler that will let you know when the button you subscribed to is selected. @@ -82,6 +85,8 @@ * @abstract The name of the button to subscribe to * @discussion An enum value, see <i>SDLButtonName</i> */ -@property (strong) SDLButtonName buttonName; +@property (strong, nonatomic) SDLButtonName buttonName; @end + +NS_ASSUME_NONNULL_END |