-
…he return type should be instancetype and not a fixed type.
-
# 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
-
… 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
-
…mmit 6406d8e5, the wrong usage of dispatch_apply This one fixes: #1425 and #1426
-
…e wrong usage of dispatch_apply
-
- Removes recursive calls to startPrefetchingAtIndex. - Uses dispatch_apply with striding to optimize the performance.
-
Added a new constructor to SDWebImagePrefetcher
-
that allows it to be instantiated with any image manager
-
Remove macro that checks for DEBUG, SD_VERBOSE, and SD_LOG_NONE Remove calls to NSLog
-
[Memory Issue] Clear SDWebImagePrefetcher progressBlock when it has completed
-
If progressblock captures objects, captured objects remain until next SDWebImagePrefetcher works. So, nil clear progressBlock as well as completionBlock.
-
* Adds option to decompress images in cache and post download.
-
In some cases the user may end up with an empty urls NSArray, in which case the completion block is never called. This commit handle such case to call immediately the completion block (if any)
-
…s (for proper autocomplete). Created a SDWebImageNoParamsBlock to distinguish easier from other no params blocks. Fixes #810
-
- 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
-
…prematurely if any requests were skipped. Also adjusted documentation in headers to make it clear that the `finishedCount` includes both successful and unsuccessful requests.
-
I added "+ self.skippedCount" because it never completes if there are skipped operations.
-
I added progress block that I need.
-
…t notation is preferred in all other instances
-
Using `SDDispatchQueueSetterSementics`, which might be `assign` for a block is a terrible idea.
-
…led due to is always being 0
-
- none, disk and memory - can still be used as a bool (if true there was a cache hit)