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/SDLOnKeyboardInput.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/SDLOnKeyboardInput.m')
-rw-r--r-- | SmartDeviceLink/SDLOnKeyboardInput.m | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/SmartDeviceLink/SDLOnKeyboardInput.m b/SmartDeviceLink/SDLOnKeyboardInput.m index cfa35eedc..a6bd02295 100644 --- a/SmartDeviceLink/SDLOnKeyboardInput.m +++ b/SmartDeviceLink/SDLOnKeyboardInput.m @@ -6,6 +6,8 @@ #import "NSMutableDictionary+Store.h" #import "SDLNames.h" +NS_ASSUME_NONNULL_BEGIN + @implementation SDLOnKeyboardInput - (instancetype)init { @@ -23,12 +25,14 @@ return (SDLKeyboardEvent)obj; } -- (void)setData:(NSString *)data { +- (void)setData:(nullable NSString *)data { [parameters sdl_setObject:data forName:SDLNameData]; } -- (NSString *)data { +- (nullable NSString *)data { return [parameters sdl_objectForName:SDLNameData]; } @end + +NS_ASSUME_NONNULL_END |