Nuke Documentation

Structure Image​Container.​User​Info​Key

public struct UserInfoKey: Hashable, ExpressibleByStringLiteral  

A key use in userInfo.

ImageContainer.UserInfoKey ImageContainer.UserInfoKey Hashable Hashable ImageContainer.UserInfoKey->Hashable ExpressibleByStringLiteral ExpressibleByStringLiteral ImageContainer.UserInfoKey->ExpressibleByStringLiteral

Member Of

ImageContainer

An image container with an image and associated metadata.

Conforms To

ExpressibleByStringLiteral
Hashable

Initializers

init(_:​)

public init(_ rawValue: String)  

init(string​Literal:​)

public init(stringLiteral value: String)  

Properties

raw​Value

public let rawValue: String

scan​Number​Key

public static let scanNumberKey: UserInfoKey = "com.github/kean/nuke/scan-number"

A user info key to get the scan number (Int).