- Added a simpler interface for use with swift
- Updated minimum deployment target to iOS 9
- Removed watchOS 2 target
- Fixed a thread safety issue when flushing caches on app launch
- Fixed "this block declaration is not a prototype" warnings
- Removed the explicit dependency of AFNetworking since we get it from SGHTTPRequest
- Don’t crossfade images using the category method if we already have the image cached locally and can immediately set it
- Suppressed documentation warnings coming from promiseKit
- Enabled watchOS 2 target
- SGImageCache is now based on AFNetworking 3
- Fixed bug where sometimes images were fetched remotely even if they were available from the cache
- Added a way to remove images from the cache manually
- Fixed caching bug to do with hash collisions
- Use Framework style import statements for pod Framework compatibility
- Added the ability to handle remote fetch failures and perform actions on fetch retry attempts (eg. show fail screens, retry loading spinners).
- Added an addImage:forURL method for adding images to the cache locally
- Added an addData: method for adding cache data locally
- Added SGCache, a generic NSData cacher
- Added the ability to use custom HTTP headers
- Allow providing custom cache keys
- Added the ability to force a remote fetch
- Added SGCache, a generic NSData cacher
- Added the ability to use custom HTTP headers
- Allow providing custom cache keys
- Added the ability to force a remote fetch
- Allow SGImageCache to work with projects using Alamofire and use_frameworks!
- Fixed a race condition bug
- Specified a PromiseKit dependency of 1.5.x
- PromiseKit is now compulsory, and non PromiseKit based methods have been removed
- Fixed auto retrying of image fetches on return of network connectivity
- Added optional PromiseKit based completions, courtesy of @dbachrach.
- No longer uses
imageNamed:
for memory caching, due to nasty performance degredation on iOS 8, and imageNamed's questionable memory management. - A new
SGImageView
class which can automatically release itsimage
property on memory warning if possible (ie if not on screen). The image will be automatically reloaded from cache if the image view returns to screen. (Note that this functionality is only enabled if one of thesetImageForURL:
methods was used).
Added console logging option
Initial release