From 6f6f54e6c55154ae69e8d835ff2eba1ba590b2d4 Mon Sep 17 00:00:00 2001 From: DreamPiggy Date: Tue, 16 Jan 2018 00:06:18 +0800 Subject: [PATCH] Mark one function which return value should follow the GET rule --- SDWebImage/NSData+ImageContentType.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SDWebImage/NSData+ImageContentType.h b/SDWebImage/NSData+ImageContentType.h index 0ca226d8..1eaab8dc 100644 --- a/SDWebImage/NSData+ImageContentType.h +++ b/SDWebImage/NSData+ImageContentType.h @@ -37,6 +37,6 @@ typedef NS_ENUM(NSInteger, SDImageFormat) { @param format Format as SDImageFormat @return The UTType as CFStringRef */ -+ (nonnull CFStringRef)sd_UTTypeFromSDImageFormat:(SDImageFormat)format; ++ (nonnull CFStringRef)sd_UTTypeFromSDImageFormat:(SDImageFormat)format CF_RETURNS_NOT_RETAINED; @end