-
# Conflicts: # SDWebImage.xcodeproj/project.pbxproj
-
+ SDWebImageDownloader downloadImageWithURL:... properly use the weakself-strongself pattern # Conflicts: # .travis.yml # Examples/SDWebImage Demo.xcodeproj/project.pbxproj # README.md # SDWebImage.xcodeproj/project.pbxproj # SDWebImage/SDWebImageDownloader.m # SDWebImage/SDWebImageDownloaderOperation.h # SDWebImage/SDWebImageDownloaderOperation.m # SDWebImage/SDWebImageManager.m # Tests/Podfile # Tests/SDWebImage Tests.xcodeproj/project.pbxproj
-
Updated image downloader with a single session that manages all tasks
-
We need different ownership for both because we need to invalidate the owned session upon completion. The unowned session is wet to avoid cyclical references.
-
- the URL session is created and maintained y the image downloader - the session will be injected to each operation and it will use it to create the data task - when delegate callbacks are called, the downloader will call the same delegate methods on the appropriate operation - if no session is injected upon creating a operation, it will create its own session for backwards compatibility.
-
fixed crash on ios7 user device
-
fixed that string property of NSURLComponents can`t use on iOS7
-
… the library version to 3.8.0
-
Replace deprecated NSURLConnection with NSURLSession
-
- one session per operation to preserve the ordering and priority functionalities - removed all the runloop code that was only used to keep the operation running. I am relying on non-setting the isFinished property to keep the operation running - todo: check deallocation, test background tasks
-
…tedImageView(WebCache) category. This should make the integration easier. Not sure if it will always work
-
…tem. It's very similar to UIImageView (WebCache). There are explicit methods for loading an animated image.
-
… memory cache only holds UIImage instances and we need the NSData. Forced to load from disk if the image is a GIF
-
…with a single animated frame (basically a static image). We do set it in the images array so we can distinguish between those and real static images. Dropped all other GIF code.
-
…em in a future category
-
…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
-
…Data (we will need it later for the GIF images). - had to add an NSData param to `SDWebImageQueryCompletedBlock`, so to make it simpler see this change for users, renamed the block type to `SDCacheQueryCompletedBlock` - pass the NSData when getting the image from disk cache
-
…ince FLAnimatedImage only supports iOS 6 and later.
-
… issue - for iOS 7 and above, remove the query from the url (prior to iOS 7 the behavior remains the same).
-
… SDWebImageManager - added a new initializer (`initWithCache:downloader:`)
-
… above, remove the query from the url (prior to iOS 7 the behavior remains the same).
-
… issue - for iOS 7 and above, remove the query from the url (prior to iOS 7 the behavior remains the same).