Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Branch: master
Commits on Dec 27, 2011
Commits on Dec 5, 2011
  1. @adamjernst @rs

    Introduce a cacheURLs array to prevent race conditions related to che…

    adamjernst authored rs committed
    …cking the on-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).
  2. @rs

    Add Xcode project

    rs authored
Commits on Nov 22, 2011
  1. @fsaragoca @rs

    Documented categories (appledoc)

    fsaragoca authored rs committed
Commits on Oct 25, 2011
  1. @rs

    Merge pull request #39 from 433/version_check_fix

    rs authored
    update version check to make #if work for iOS >= 4
  2. @unintended
Commits on Oct 20, 2011
  1. @rs

    Merge pull request #37 from neogithub/patch-1

    rs authored
  2. @neogithub


    neogithub authored
Commits on Oct 4, 2011
  1. @rs
  2. @rs

    Fix wrong options values

    rs authored
  3. @rs

    Perform image decoding/optimization in the IO thread instead of main …

    rs authored
    …thread for 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 ( and James Tang (
    for this great optimization. See rs#18 for more info.
Commits on Oct 3, 2011
  1. @rs

    Merge pull request #29 from nonamelive/patch-1

    rs authored
    Fixed a potential crash when the delegate retainCount = 1, which means th
  2. @rs

    Add an option to disable on disk caching (fix #16) + refactor other o…

    rs authored
    …ptions (low prio and retry failed) to an options: parameter
Commits on Sep 30, 2011
  1. @rs
Commits on Sep 28, 2011
  1. @nonamelive

    Fixed a potential crash when the delegate retainCount = 1, which mean…

    nonamelive authored
    …s the delegate 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];
Commits on Sep 21, 2011
  1. @rs

    When storeImage:imageData:forKey:toDisk: is called with toDisk:YES bu…

    rs authored
    …t no data, do not prevent memory caching (fix: #24)
Commits on Jul 25, 2011
  1. @rs

    Merge pull request #20 from exalted/master

    rs authored
    Added UIButton+WebCache category
  2. @exalted
Commits on Jul 13, 2011
  1. @adamjernst @rs

    Fix race condition with SDWebImageManager's cancelForDelegate:

    adamjernst authored rs committed
    The -cancelForDelegate: method was working for downloads but not local cache checks. Add some new machinery to keep track of pending cache requests and only message the delegate if it hasn't since requested cancellation.
  2. @rs
  3. @rs

    Fix coding style

    rs authored
  4. @siuying @rs

    Fix a leak on Mac OSX

    siuying authored rs committed
Commits on May 11, 2011
  1. Release downloader

Commits on May 7, 2011
  1. @rs

    Merge pull request #12 from apptitude/master

    rs authored
    Low priority download mode
Commits on May 6, 2011
  1. @vesterbaek
Commits on Mar 21, 2011
  1. @rs
Commits on Mar 17, 2011
  1. @rs

    Added Mac OS X compatibility

    Jamie Pinkham authored rs committed
Commits on Jan 25, 2011
  1. @eliog @rs

    Force retry of failed downloads

    eliog authored rs committed
  2. @rs
Commits on Jan 22, 2011
Commits on Oct 9, 2010
  1. @rs
Commits on Oct 7, 2010
  1. @rs

    Add userInfo on SDWebImageDownloader.m

    niblh authored rs committed
Commits on Oct 3, 2010
  1. @rs

    Add support for system network activity indicator show/hide via notif…

    rs authored
    As showing/hiding the network activity indicator could conflict with your own code (i.e. the lib may hide the indicator when your code would still do some network stuff), the show/hide of the indicator isn't performed by the lib directly but SDWebImageDownloadStartNotification and SDWebImageDownloadStopNotification notifications are posted instead.
    This lets you handle the indicator visiblity by yourself. If you're lazy, you can use the SDNetworkActivityIndicator library ( to handle it automatically. Once added to your project, all you have to do is to import this lib in addition to the SDWebImage lib.
    Note that you should then use SDNetworkActivityIndicator for all your network status indicator visibility changes in your code if you don't want conflicts to happen.
Something went wrong with that request. Please try again.