diff options
author | NicoleYarroch <nicole@livio.io> | 2018-02-26 13:52:08 -0500 |
---|---|---|
committer | NicoleYarroch <nicole@livio.io> | 2018-02-26 13:52:08 -0500 |
commit | 6470977c27965c0fa67d87657fbb33a6aa0bcea2 (patch) | |
tree | 5764ff7bac10c91bbcefc6b44e180871ab71cf95 /SmartDeviceLink/SDLArtwork.h | |
parent | 5b4036e1734e12ec44b78c939a0c938b85d3f05a (diff) | |
download | sdl_ios-6470977c27965c0fa67d87657fbb33a6aa0bcea2.tar.gz |
Fixed deprecated messages in `SDLArtwork`
Diffstat (limited to 'SmartDeviceLink/SDLArtwork.h')
-rw-r--r-- | SmartDeviceLink/SDLArtwork.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/SmartDeviceLink/SDLArtwork.h b/SmartDeviceLink/SDLArtwork.h index 5d31779a3..dbdcdffd5 100644 --- a/SmartDeviceLink/SDLArtwork.h +++ b/SmartDeviceLink/SDLArtwork.h @@ -34,7 +34,7 @@ NS_ASSUME_NONNULL_BEGIN * * @return An instance of this class to be passed to the file manager. */ -+ (instancetype)artworkWithImage:(UIImage *)image name:(NSString *)name asImageFormat:(SDLArtworkImageFormat)imageFormat NS_SWIFT_UNAVAILABLE("Use the standard initializer and set persistant to false") __deprecated_msg("Use artworkWithImage:image asImageFormat: instead"); ++ (instancetype)artworkWithImage:(UIImage *)image name:(NSString *)name asImageFormat:(SDLArtworkImageFormat)imageFormat NS_SWIFT_UNAVAILABLE("Use the standard initializer and set persistant to false") __deprecated_msg("Use artworkWithImage:asImageFormat: instead"); /** * Convenience Helper to create an ephemeral artwork from an image. A unique name will be assigned to the image. This name is a string representation of the image's data which is created by hashing the data using the MD5 algorithm. @@ -67,7 +67,7 @@ NS_ASSUME_NONNULL_BEGIN * * @return An instance of this class to be passed to the file manager. */ -+ (instancetype)persistentArtworkWithImage:(UIImage *)image name:(NSString *)name asImageFormat:(SDLArtworkImageFormat)imageFormat NS_SWIFT_UNAVAILABLE("Use the standard initializer and set persistant to true") __deprecated_msg("Use persistentArtworkWithImage:image:asImageFormat instead"); ++ (instancetype)persistentArtworkWithImage:(UIImage *)image name:(NSString *)name asImageFormat:(SDLArtworkImageFormat)imageFormat NS_SWIFT_UNAVAILABLE("Use the standard initializer and set persistant to true") __deprecated_msg("Use persistentArtworkWithImage:asImageFormat instead"); /** * Convenience Helper to create a persistent artwork from an image. A unique name will be assigned to the image. This name is a string representation of the image's data which is created by hashing the data using the MD5 algorithm. |