Skip to content
This repository was archived by the owner on Aug 3, 2022. It is now read-only.

Fix the nullability of animatedImage property, it can be nullable in some cases. #8

Merged
merged 1 commit into from
Mar 5, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,4 @@ Carthage/Build
# `pod install` in .travis.yml
#
Example/Pods
Podfile.lock
31 changes: 0 additions & 31 deletions Example/Podfile.lock

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ FOUNDATION_EXPORT SDWebImageContextOption _Nonnull const SDWebImageContextPredra
@interface SDFLAnimatedImage : UIImage <SDAnimatedImage>

/**
The `FLAnimatedImage` instance for GIF representation. This property should be nonnull.
The `FLAnimatedImage` instance for GIF representation. This property typically be nonnull if you init the image with the following methods. However, it will be null when you call super method like `initWithCGImage:`
*/
@property (nonatomic, strong, nonnull, readonly) FLAnimatedImage *animatedImage;
@property (nonatomic, strong, nullable, readonly) FLAnimatedImage *animatedImage;

/**
Create the wrapper with specify `FLAnimatedImage` instance. The instance should be nonnull.
Expand Down