Classes
The following classes are available globally.
-
The
See moreAutoPurgingImageCache
in an in-memory image cache used to store images up to a given memory capacity. When the memory capacity is reached, the image cache is sorted by last access date, then the oldest image is continuously purged until the preferred memory usage after purge is met. Each time an image is accessed through the cache, the internal access date of the image is updated.Declaration
Swift
open class AutoPurgingImageCache : ImageRequestCache
-
The
See moreRequestReceipt
is an object vended by theImageDownloader
when starting a download request. It can be used to cancel active requests running on theImageDownloader
session. As a general rule, image download requests should be cancelled using theRequestReceipt
instead of callingcancel
directly on therequest
itself. TheImageDownloader
is optimized to handle duplicate request scenarios as well as pending versus active downloads.Declaration
Swift
open class RequestReceipt
-
The
See moreImageDownloader
class is responsible for downloading images in parallel on a prioritized queue. Incoming downloads are added to the front or back of the queue depending on the download prioritization. Each downloaded image is cached in the underlyingNSURLCache
as well as the in-memory image cache that supports image filters. By default, any download request with a cached image equivalent in the image cache will automatically be served the cached image representation. Additional advanced features include supporting multiple image filters and completion handlers for a single request.Declaration
Swift
open class ImageDownloader
-
Undocumented
See moreDeclaration
Swift
open class ImageResponseSerializer : ResponseSerializer