Nuke Documentation

Class Image​Decoders.​Default

public final class Default: ImageDecoding, ImageDecoderRegistering  

A decoder that supports all of the formats natively supported by the system.

ImageDecoders.Default ImageDecoders.Default ImageDecoderRegistering ImageDecoderRegistering ImageDecoders.Default->ImageDecoderRegistering ImageDecoding ImageDecoding ImageDecoders.Default->ImageDecoding

Member Of

ImageDecoders

A namespace with all available decoders.

Conforms To

ImageDecoding

An image decoder.

ImageDecoderRegistering

An image decoder which supports automatically registering in the decoder register.

Initializers

init()

public init()  

init?(data:​context:​)

public init?(data: Data, context: ImageDecodingContext)  

init?(partially​Downloaded​Data:​context:​)

public init?(partiallyDownloadedData data: Data, context: ImageDecodingContext)  

Properties

is​Asynchronous

public var isAsynchronous: Bool  

Methods

decode(_:​)

public func decode(_ data: Data) -> ImageContainer?  

decode​Partially​Downloaded​Data(_:​)

public func decodePartiallyDownloadedData(_ data: Data) -> ImageContainer?