diff options
author | Muller, Alexander (A.) <amulle19@ford.com> | 2017-01-18 11:47:22 -0800 |
---|---|---|
committer | Muller, Alexander (A.) <amulle19@ford.com> | 2017-01-18 11:47:22 -0800 |
commit | 41bd47f068648a73389f878069ff0ec3f2cd6005 (patch) | |
tree | 21f4bfed2b82ab346a98844ce04569b953a8126f /SmartDeviceLink/SDLOnButtonEvent.m | |
parent | a1c5ddde3424956a0f386335f71e8c36692147ac (diff) | |
parent | aef328f494aea84367af8d0d800253dfe38044b1 (diff) | |
download | sdl_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.m | 8 |
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 |