-
…Cache category. All the other categories will make calls to this one. Customization of setting the image is done via the setImageBlock and the operationKey
-
Clarified and simplified the usage of TARGET_OS_* macros. Added SD_MAC, SD_UIKIT, SD_IOS, SD_TV, SD_WATCH. Updated Travis CI
-
…ork (pod lib lint works). There is an issue, the SDWebImage watchOS target doesn't show the simulator, only Generic Device. Also need to add some demo and test code.
-
# Conflicts: # SDWebImage/MKAnnotationView+WebCache.h # SDWebImage/MKAnnotationView+WebCache.m # SDWebImage/SDImageCache.h # SDWebImage/SDImageCache.m # SDWebImage/SDWebImageManager.h # SDWebImage/SDWebImageManager.m # SDWebImage/UIButton+WebCache.h # SDWebImage/UIButton+WebCache.m # SDWebImage/UIImageView+HighlightedWebCache.h # SDWebImage/UIImageView+HighlightedWebCache.m # SDWebImage/UIImageView+WebCache.h # SDWebImage/UIImageView+WebCache.m
-
…25. Decided to make explicit nullable and nonnull and not use NS_ASSUME_NONNULL_BEGIN so everything is clearer when read. Done so in the implementation files as well
-
…k` to `SDExternalCompletionBlock`
-
… it also returns the NSData (we will need it later for the GIF images). - had to add an NSData param to `SDWebImageCompletionWithFinishedBlock `, so to make it simpler see this change for users, renamed the block type to `SDInternalCompletionBlock` - pass the NSData from the ImageCache or the Downloader - updated all classes using this method with the new signature
-
…`loadImageWithURL:options:progress:completed:` as it makes more sense, since we check the cache first and download only if needed Conflicts: SDWebImage/UIImageView+WebCache.m
-
…eed the backwards compatible methods Conflicts: SDWebImage/UIImageView+WebCache.h SDWebImage/UIImageView+WebCache.m
-
Fixed sd_cancelBackgroundImageLoadForState in sd_setBackgroundImageWithURL method
-
Use __typeof(self) when assigning weak reference for block.
-
Make a constant for the error domain
-
… don't need the backwards compatible methods" This reverts commit 62a8ee1a.
-
Signed-off-by: 庞博 <bopang@sohu-inc.com>
-
…eed the backwards compatible methods
-
…ix (deprecated the old ones) -there were a few exceptions where I just renamed the methods since they were added in this method
-
… backwards compatible.
-
Conflicts: SDWebImage/MKAnnotationView+WebCache.m SDWebImage/UIButton+WebCache.m SDWebImage/UIImageView+HighlightedWebCache.h SDWebImage/UIImageView+HighlightedWebCache.m SDWebImage/UIImageView+WebCache.m
-
…ain_async_safe` macro. Fixes #505
-
- deprecated all UIButton(WebCache) `setImage*` methods. Replaced with `loadImage*` methods that use the `SDWebImageCompletionBlock` as completion block type - created WebCacheDeprecated category on UIButton (to avoid collisions, we didn't name it Deprecated) - replaced the usages of the deprecated items with the new ones
-
- deprecated block type `SDWebImageCompletedWithFinishedBlock`, replaced with `SDWebImageCompletionWithFinishedBlock` that contains NSURL* param - deprecated SDWebImageManager `-downloadWithURL:options:progress:completed:` method. Replaced with `downloadImageWithURL:options:progress:completed:` that uses the `SDWebImageCompletionWithFinishedBlock ` as completion block type - created Deprecated category for SDWebImageManager containing the old method - replaced the usages of the deprecated items with the new ones