summaryrefslogtreecommitdiff
path: root/SmartDeviceLink/SDLOnEncodedSyncPData.m
diff options
context:
space:
mode:
Diffstat (limited to 'SmartDeviceLink/SDLOnEncodedSyncPData.m')
-rw-r--r--SmartDeviceLink/SDLOnEncodedSyncPData.m12
1 files changed, 8 insertions, 4 deletions
diff --git a/SmartDeviceLink/SDLOnEncodedSyncPData.m b/SmartDeviceLink/SDLOnEncodedSyncPData.m
index caf473c1a..3a8eefe78 100644
--- a/SmartDeviceLink/SDLOnEncodedSyncPData.m
+++ b/SmartDeviceLink/SDLOnEncodedSyncPData.m
@@ -6,6 +6,8 @@
#import "NSMutableDictionary+Store.h"
#import "SDLNames.h"
+NS_ASSUME_NONNULL_BEGIN
+
@implementation SDLOnEncodedSyncPData
- (instancetype)init {
@@ -22,20 +24,22 @@
return [parameters sdl_objectForName:SDLNameData];
}
-- (void)setURL:(NSString *)URL {
+- (void)setURL:(nullable NSString *)URL {
[parameters sdl_setObject:URL forName:SDLNameURLUppercase];
}
-- (NSString *)URL {
+- (nullable NSString *)URL {
return [parameters sdl_objectForName:SDLNameURLUppercase];
}
-- (void)setTimeout:(NSNumber<SDLInt> *)Timeout {
+- (void)setTimeout:(nullable NSNumber<SDLInt> *)Timeout {
[parameters sdl_setObject:Timeout forName:SDLNameTimeoutCapitalized];
}
-- (NSNumber<SDLInt> *)Timeout {
+- (nullable NSNumber<SDLInt> *)Timeout {
return [parameters sdl_objectForName:SDLNameTimeoutCapitalized];
}
@end
+
+NS_ASSUME_NONNULL_END