summaryrefslogtreecommitdiff
path: root/SmartDeviceLink
diff options
context:
space:
mode:
Diffstat (limited to 'SmartDeviceLink')
-rw-r--r--SmartDeviceLink/SDLDisplayCapabilities.h2
-rw-r--r--SmartDeviceLink/SDLDisplayCapabilities.m4
2 files changed, 3 insertions, 3 deletions
diff --git a/SmartDeviceLink/SDLDisplayCapabilities.h b/SmartDeviceLink/SDLDisplayCapabilities.h
index 6e26024e4..b278ef3a2 100644
--- a/SmartDeviceLink/SDLDisplayCapabilities.h
+++ b/SmartDeviceLink/SDLDisplayCapabilities.h
@@ -32,7 +32,7 @@ NS_ASSUME_NONNULL_BEGIN
Optional
*/
-@property (strong, nonatomic) NSString *displayName;
+@property (strong, nonatomic, nullable) NSString *displayName;
/**
* An array of SDLTextField structures, each of which describes a field in the HMI which the application can write to using operations such as *SDLShow*, *SDLSetMediaClockTimer*, etc.
diff --git a/SmartDeviceLink/SDLDisplayCapabilities.m b/SmartDeviceLink/SDLDisplayCapabilities.m
index 1d9642838..c1615431c 100644
--- a/SmartDeviceLink/SDLDisplayCapabilities.m
+++ b/SmartDeviceLink/SDLDisplayCapabilities.m
@@ -21,11 +21,11 @@ NS_ASSUME_NONNULL_BEGIN
return [store sdl_objectForName:SDLNameDisplayType];
}
-- (void)setDisplayName:(NSString *)displayName {
+- (void)setDisplayName:(nullable NSString *)displayName {
[store sdl_setObject:displayName forName:SDLNameDisplayName];
}
-- (NSString *)displayName {
+- (nullable NSString *)displayName {
return [store sdl_objectForName:SDLNameDisplayName];
}