Classes
The following classes are available globally.
-
The
See moreAutoPurgingImageCachein 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 moreRequestReceiptis an object vended by theImageDownloaderwhen starting a download request. It can be used to cancel active requests running on theImageDownloadersession. As a general rule, image download requests should be cancelled using theRequestReceiptinstead of callingcanceldirectly on therequestitself. TheImageDownloaderis optimized to handle duplicate request scenarios as well as pending versus active downloads.Declaration
Swift
open class RequestReceipt -
The
See moreImageDownloaderclass 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 underlyingNSURLCacheas 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
View on GitHub
Install in Dash
Classes Reference