summaryrefslogtreecommitdiff
path: root/SmartDeviceLink/SDLBodyInformation.m
diff options
context:
space:
mode:
authorMuller, Alexander (A.) <amulle19@ford.com>2016-12-22 13:35:53 -0500
committerMuller, Alexander (A.) <amulle19@ford.com>2016-12-22 13:35:53 -0500
commitfa27662309f1e491aa5cc8e32ad9615e49124a06 (patch)
tree1d7ea40da2707e05d07d6f5a3656a7ecd4eb3bbe /SmartDeviceLink/SDLBodyInformation.m
parent38d57ad153e9ad1d554333ffc2cb3fed9b9e94a5 (diff)
downloadsdl_ios-fa27662309f1e491aa5cc8e32ad9615e49124a06.tar.gz
Added nullability annotation to structs.
Diffstat (limited to 'SmartDeviceLink/SDLBodyInformation.m')
-rw-r--r--SmartDeviceLink/SDLBodyInformation.m16
1 files changed, 8 insertions, 8 deletions
diff --git a/SmartDeviceLink/SDLBodyInformation.m b/SmartDeviceLink/SDLBodyInformation.m
index db54f6264..71f20254b 100644
--- a/SmartDeviceLink/SDLBodyInformation.m
+++ b/SmartDeviceLink/SDLBodyInformation.m
@@ -48,7 +48,7 @@
return (SDLIgnitionStatus)obj;
}
-- (void)setDriverDoorAjar:(NSNumber<SDLBool> *)driverDoorAjar {
+- (void)setDriverDoorAjar:(nullable NSNumber<SDLBool> *)driverDoorAjar {
if (driverDoorAjar != nil) {
[store setObject:driverDoorAjar forKey:SDLNameDriverDoorAjar];
} else {
@@ -56,11 +56,11 @@
}
}
-- (NSNumber<SDLBool> *)driverDoorAjar {
+- (nullable NSNumber<SDLBool> *)driverDoorAjar {
return [store objectForKey:SDLNameDriverDoorAjar];
}
-- (void)setPassengerDoorAjar:(NSNumber<SDLBool> *)passengerDoorAjar {
+- (void)setPassengerDoorAjar:(nullable NSNumber<SDLBool> *)passengerDoorAjar {
if (passengerDoorAjar != nil) {
[store setObject:passengerDoorAjar forKey:SDLNamePassengerDoorAjar];
} else {
@@ -68,11 +68,11 @@
}
}
-- (NSNumber<SDLBool> *)passengerDoorAjar {
+- (nullable NSNumber<SDLBool> *)passengerDoorAjar {
return [store objectForKey:SDLNamePassengerDoorAjar];
}
-- (void)setRearLeftDoorAjar:(NSNumber<SDLBool> *)rearLeftDoorAjar {
+- (void)setRearLeftDoorAjar:(nullable NSNumber<SDLBool> *)rearLeftDoorAjar {
if (rearLeftDoorAjar != nil) {
[store setObject:rearLeftDoorAjar forKey:SDLNameRearLeftDoorAjar];
} else {
@@ -80,11 +80,11 @@
}
}
-- (NSNumber<SDLBool> *)rearLeftDoorAjar {
+- (nullable NSNumber<SDLBool> *)rearLeftDoorAjar {
return [store objectForKey:SDLNameRearLeftDoorAjar];
}
-- (void)setRearRightDoorAjar:(NSNumber<SDLBool> *)rearRightDoorAjar {
+- (void)setRearRightDoorAjar:(nullable NSNumber<SDLBool> *)rearRightDoorAjar {
if (rearRightDoorAjar != nil) {
[store setObject:rearRightDoorAjar forKey:SDLNameRearRightDoorAjar];
} else {
@@ -92,7 +92,7 @@
}
}
-- (NSNumber<SDLBool> *)rearRightDoorAjar {
+- (nullable NSNumber<SDLBool> *)rearRightDoorAjar {
return [store objectForKey:SDLNameRearRightDoorAjar];
}