diff options
Diffstat (limited to 'SmartDeviceLink/SDLWeatherAlert.m')
-rw-r--r-- | SmartDeviceLink/SDLWeatherAlert.m | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/SmartDeviceLink/SDLWeatherAlert.m b/SmartDeviceLink/SDLWeatherAlert.m index 7568ec924..8d08284f8 100644 --- a/SmartDeviceLink/SDLWeatherAlert.m +++ b/SmartDeviceLink/SDLWeatherAlert.m @@ -36,7 +36,7 @@ NS_ASSUME_NONNULL_BEGIN } - (nullable NSString *)title { - return [store sdl_objectForName:SDLRPCParameterNameTitle]; + return [store sdl_objectForName:SDLRPCParameterNameTitle ofClass:NSString.class]; } - (void)setSummary:(nullable NSString *)summary { @@ -44,7 +44,7 @@ NS_ASSUME_NONNULL_BEGIN } - (nullable NSString *)summary { - return [store sdl_objectForName:SDLRPCParameterNameSummary]; + return [store sdl_objectForName:SDLRPCParameterNameSummary ofClass:NSString.class]; } - (void)setExpires:(nullable SDLDateTime *)expires { @@ -60,7 +60,7 @@ NS_ASSUME_NONNULL_BEGIN } - (nullable NSArray<NSString *> *)regions { - return [store sdl_objectForName:SDLRPCParameterNameRegions]; + return [store sdl_objectsForName:SDLRPCParameterNameRegions ofClass:NSString.class]; } - (void)setSeverity:(nullable NSString *)severity { @@ -68,7 +68,7 @@ NS_ASSUME_NONNULL_BEGIN } - (nullable NSString *)severity { - return [store sdl_objectForName:SDLRPCParameterNameSeverity]; + return [store sdl_objectForName:SDLRPCParameterNameSeverity ofClass:NSString.class]; } - (void)setTimeIssued:(nullable SDLDateTime *)timeIssued { |