Nuke 0.5.0
This is a pre-1.0 version, first major release which is going to be available soon.
Major
- #18 ImageTask can now be suspended (see
suspend()
method). AddsuspendLoadingForImageTask(_:)
method toImageLoading
protocol - #24 ImageRequest can now be initialized with NSURLRequest. ImageDataLoading
imageDataTaskWithURL(_:progressHandler:completionHandler:)
method changed toimageDataTaskWithRequest(_:progressHandler:completionHandler:)
. First parameter is ImageRequest, return value change from NSURLSessionDataTask to NSURLSessionTask. - ImageLoader no longer limits number of concurrent NSURLSessionTasks (which had several drawbacks)
- Add base ImagePreheatingController class
- Multiple preheating improvements: significantly simplified implementation; visible index paths are now subtracted from preheat window; performance improvements.
Minor
- BUGFIX: When subscribing to an existing NSURLSessionTask user was receiving progress callback with invalid totalUnitCount
- Add public
equivalentProcessors(lhs:rhs:) -> Bool
function that works on optional processors - Add essential documentation