Classes
- DataCache
-
Data cache backed by a local storage.
- DataLoader
-
Provides basic networking using
URLSession
. - ImageCache
-
Memory cache with LRU cleanup policy (least recently used are removed first).
- ImageDecoders.Default
-
The default decoder which supports all of the formats natively supported by the system.
- ImageDecoderRegistry
-
A register of image codecs (only decoding).
- ImagePipeline
-
ImagePipeline
loads and decodes image data, processes loaded images and stores them in caches. - ImagePreheater
-
Prefetches and caches image to eliminate delays when requesting the same images later.
- ImageTask
-
A task performed by the
ImagePipeline
. The pipeline maintains a strong reference to the task until the request finishes or fails; you do not need to maintain a reference to the task unless it is useful to do so for your app’s internal bookkeeping purposes. - ImageResponse
-
Represents a response of a particular image task.
Structures
- ImageDecoders.Empty
-
A decoder which returns an empty placeholder image and attaches image data to the image container.
- ImageDecodingContext
-
Image decoding context used when selecting which decoder to use.
- ImageType
-
A uniform type identifier (UTI).
- ImageEncodingContext
-
Image encoding context used when selecting which encoder to use.
- ImageEncoders.Default
-
A default adaptive encoder which uses best encoder available depending on the input image and its configuration.
- ImageEncoders.ImageIO
-
An Image I/O based encoder.
- ImagePipeline.Configuration
- ImagePipeline.Configuration.DataCacheOptions
- ImageProcessingContext
-
Image processing context used when selecting which processor to use.
- ImageProcessors.Resize
-
Scales an image to a specified size.
- ImageProcessors.Circle
-
Rounds the corners of an image into a circle. If the image is not a square, crops it to a square first.
- ImageProcessors.RoundedCorners
-
Rounds the corners of an image to the specified radius.
- ImageProcessors.CoreImageFilter
-
Applies Core Image filter (
CIFilter
) to the image. - ImageProcessors.GaussianBlur
-
Blurs an image using
CIGaussianBlur
filter. - ImageProcessors.Composition
-
Composes multiple processors.
- ImageProcessors.Anonymous
-
Processed an image using a specified closure.
- ImageProcessingOptions.Border
-
Draws a border.
- ImageProcessingOptions.Border
-
Draws a border.
- ImageRequest
-
Represents an image request.
- ImageRequestOptions
- ImageRequestOptions.MemoryCacheOptions
-
The policy to use when reading or writing images to the memory cache.
- ImageContainer
- ImageLoadingOptions
-
A range of options that control how the image is loaded and displayed.
- ImageLoadingOptions.ContentModes
-
Custom content modes to be used for each image type (placeholder, success, failure).
- ImageLoadingOptions.TintColors
-
Custom tint color to be used for each image type (placeholder, success, failure).
- ImageLoadingOptions.Transition
-
An animated image transition.
- ImageLoadingOptions.Transition
-
An animated image transition.
Enumerations
- DataLoader.Error
-
Errors produced by
DataLoader
. - DataTaskEvent
- ImageDecoders
- ImageEncoders
- ImagePipeline.Error
-
Represents all possible image pipeline errors.
- ImagePipeline.DataCacheItem
- ImageTaskEvent
- ImagePreheater.Destination
-
Prefetching destination.
- ImageProcessors
-
A namespace for all processors that implement
ImageProcessing
protocol. - ImageProcessors.Resize.ContentMode
-
An option for how to resize the image.
- ImageProcessingOptions
- ImageProcessingOptions.Unit
- ImageRequest.Priority
-
The execution priority of the request. The priority affects the order in which the image requests are executed.
- ImageRequest.CachePolicy
Protocols
- DataCaching
-
Data cache.
- Cancellable
- DataLoading
- DataLoaderObserving
-
Allows you to tap into internal events of the data loader. Events are delivered on the internal serial operation queue.
- ImageCaching
-
In-memory image cache.
- ImageDecoding
-
An image decoder.
- ImageDecoderRegistering
-
An image decoder which supports automatically registering in the decoder register.
- ImageEncoding
- ImagePipelineObserving
-
Allows you to tap into internal events of the image pipeline. Events are delivered on the internal serial dispatch queue.
- ImageProcessing
-
Performs image processing.
- ImageRequestConvertible
- Nuke_ImageDisplaying
-
Displays images. Add the conformance to this protocol to your views to make them compatible with Nuke image loading extensions.
Typealiases
- ImageProcessor
- ImageDecoder
- ImageEncoder
- PlatformImage
-
Alias for
UIImage
. - PlatformImage
-
Alias for
NSImage
. - ImageDisplayingView
-
A
UIView
that implementsImageDisplaying
protocol. - ImageDisplayingView
-
An
NSObject
that implementsImageDisplaying
andAnimating
protocols. Can supportNSView
andNSCell
. The latter can return nil for layer. - ImageDisplayingView
-
A
WKInterfaceObject
that implementsImageDisplaying
protocol.
Functions
- loadImage(with:options:into:completion:)
- loadImage(with:options:into:progress:completion:)
-
Loads an image with the given request and displays it in the view.
- cancelRequest(for:)
-
Cancels an outstanding request associated with the view.