Merge pull request #2775 from dreampiggy/fix_SDAnimatedImage_documentation

Fix the documentation about SDAnimatedImage.animatedImageData to match its behavior
This commit is contained in:
DreamPiggy 2019-06-28 16:56:21 +08:00 committed by GitHub
commit 559e0e868b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -85,8 +85,8 @@
@property (nonatomic, assign, readonly) SDImageFormat animatedImageFormat;
/**
Current animated image data, you can use this instead of CGImage to create another instance.
If the current image is not animated image, this value is nil.
Current animated image data, you can use this to grab the compressed format data and create another animated image instance.
If this image instance is an animated image created by using animated image coder (which means using the API listed above or using `initWithAnimatedCoder:scale:`), this property is non-nil.
*/
@property (nonatomic, copy, readonly, nullable) NSData *animatedImageData;