summaryrefslogtreecommitdiff
path: root/SmartDeviceLink/SDLOnKeyboardInput.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/SDLOnKeyboardInput.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/SDLOnKeyboardInput.m')
-rw-r--r--SmartDeviceLink/SDLOnKeyboardInput.m8
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