From f34e9faadf7642cee80dbd672aacfe57c47dd11a Mon Sep 17 00:00:00 2001 From: NicoleYarroch Date: Tue, 24 Jul 2018 08:32:00 -0400 Subject: Added the SDLStaticIconName enum Signed-off-by: NicoleYarroch --- SmartDeviceLink/SDLImage.m | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'SmartDeviceLink/SDLImage.m') diff --git a/SmartDeviceLink/SDLImage.m b/SmartDeviceLink/SDLImage.m index e04de1563..fcf05819a 100644 --- a/SmartDeviceLink/SDLImage.m +++ b/SmartDeviceLink/SDLImage.m @@ -50,6 +50,10 @@ NS_ASSUME_NONNULL_BEGIN return [self initWithName:value ofType:SDLImageTypeStatic isTemplate:YES]; } +- (instancetype)initWithStaticIconName:(SDLStaticIconName)staticIconName { + return [self initWithName:staticIconName ofType:SDLImageTypeStatic isTemplate:YES]; +} + #pragma mark - Getters / Setters - (void)setValue:(NSString *)value { -- cgit v1.2.1