Nuke Documentation

Structure Image​Decoding​Context

public struct ImageDecodingContext  

Image decoding context used when selecting which decoder to use.

Initializers

init(request:​data:​is​Completed:​url​Response:​)

public init(request: ImageRequest, data: Data, isCompleted: Bool, urlResponse: URLResponse?)  

Properties

request

public let request: ImageRequest

data

public let data: Data

is​Completed

public let isCompleted: Bool

Returns true if the download was completed.

url​Response

public let urlResponse: URLResponse?