summaryrefslogtreecommitdiff
path: root/SmartDeviceLink/SDLOnButtonEvent.m
diff options
context:
space:
mode:
authorMuller, Alexander (A.) <amulle19@ford.com>2017-01-18 11:47:22 -0800
committerMuller, Alexander (A.) <amulle19@ford.com>2017-01-18 11:47:22 -0800
commit41bd47f068648a73389f878069ff0ec3f2cd6005 (patch)
tree21f4bfed2b82ab346a98844ce04569b953a8126f /SmartDeviceLink/SDLOnButtonEvent.m
parenta1c5ddde3424956a0f386335f71e8c36692147ac (diff)
parentaef328f494aea84367af8d0d800253dfe38044b1 (diff)
downloadsdl_ios-41bd47f068648a73389f878069ff0ec3f2cd6005.tar.gz
Merge remote-tracking branch 'origin/develop' into feature/struct_property_rewrite.feature/struct_property_rewrite
Diffstat (limited to 'SmartDeviceLink/SDLOnButtonEvent.m')
-rw-r--r--SmartDeviceLink/SDLOnButtonEvent.m8
1 files changed, 6 insertions, 2 deletions
diff --git a/SmartDeviceLink/SDLOnButtonEvent.m b/SmartDeviceLink/SDLOnButtonEvent.m
index e3b7ed3ca..4d65422a8 100644
--- a/SmartDeviceLink/SDLOnButtonEvent.m
+++ b/SmartDeviceLink/SDLOnButtonEvent.m
@@ -6,6 +6,8 @@
#import "NSMutableDictionary+Store.h"
#import "SDLNames.h"
+NS_ASSUME_NONNULL_BEGIN
+
@implementation SDLOnButtonEvent
- (instancetype)init {
@@ -32,12 +34,14 @@
return (SDLButtonEventMode)obj;
}
-- (void)setCustomButtonID:(NSNumber<SDLInt> *)customButtonID {
+- (void)setCustomButtonID:(nullable NSNumber<SDLInt> *)customButtonID {
[parameters sdl_setObject:customButtonID forName:SDLNameCustomButtonId];
}
-- (NSNumber<SDLInt> *)customButtonID {
+- (nullable NSNumber<SDLInt> *)customButtonID {
return [parameters sdl_objectForName:SDLNameCustomButtonId];
}
@end
+
+NS_ASSUME_NONNULL_END