diff options
Diffstat (limited to 'SmartDeviceLink/SDLGetWaypoints.m')
-rw-r--r-- | SmartDeviceLink/SDLGetWaypoints.m | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/SmartDeviceLink/SDLGetWaypoints.m b/SmartDeviceLink/SDLGetWaypoints.m index c02c8f069..5f974ff42 100644 --- a/SmartDeviceLink/SDLGetWaypoints.m +++ b/SmartDeviceLink/SDLGetWaypoints.m @@ -6,6 +6,8 @@ #import "NSMutableDictionary+Store.h" #import "SDLNames.h" +NS_ASSUME_NONNULL_BEGIN + @implementation SDLGetWayPoints - (instancetype)init { @@ -26,11 +28,11 @@ return self; } -- (void)setWaypointType:(SDLWaypointType)waypointType { +- (void)setWaypointType:(nullable SDLWaypointType)waypointType { [parameters sdl_setObject:waypointType forName:SDLNameWaypointType]; } -- (SDLWaypointType)waypointType { +- (nullable SDLWaypointType)waypointType { return [parameters sdl_objectForName:SDLNameWaypointType]; } @@ -39,3 +41,5 @@ @implementation SDLGetWaypoints @end + +NS_ASSUME_NONNULL_END |