-
…the right thing with retain and release
-
… supported form ios 4 onwards)
-
Added a method to see the cache size
-
Fixed typos
-
…n-disk image cache. (Fix #47) If a cache check is initiated, then canceled with cancelForDelegate: before a new cache check is started with a different URL but the same delegate, the ongoing disk cache check would still message the delegate despite being canceled by cancelForDelegate:. This is because it only checked to see if the delegate was in the cacheDelegates array; it had been removed by cancelForDelegate:, but added back by the new unrelated cache check. cacheURLs keeps track of which specific URLs are actually requested by the delegate. If the URL from a completed disk cache check does not match the delegate in cacheDelegates, the delegate is not messaged (since we know that request was canceled).
-
update version check to make #if work for iOS >= 4
-
Update README.md
-
Contributed by https://github.com/mystcolor
-
…better responsiveness (fix #18) This new optimization is currently disabled by default so you can test it and give us feedback. To enable it, add #define ENABLE_SDWEBIMAGE_DECODER and to not forget to add SDWebImageDecoder class to your projet. Thanks to Adam Jernst (https://github.com/adamjernst) and James Tang (https://github.com/mystcolor) for this great optimization. See https://github.com/rs/SDWebImage/pull/18 for more info.
-
Fixed a potential crash when the delegate retainCount = 1, which means th
-
… prio and retry failed) to an options: parameter
-
…ate is only retained by the SDWebImageManager and the delegate's dealloc method has a structure like the code below. - (void)dealloc { [manager cancelForDelegate:self]; [super dealloc]; }
-
…do not prevent memory caching (fix: #24)
-
Added UIButton+WebCache category