Nuke Documentation

Structure Image​Pipeline.​Cache.​Caches

public struct Caches: OptionSet  

Describes a set of cache layers to use.

ImagePipeline.Cache.Caches ImagePipeline.Cache.Caches OptionSet OptionSet ImagePipeline.Cache.Caches->OptionSet

Member Of

ImagePipeline.Cache

Provides a set of convenience APIs for managing the pipeline cache layers, including ImageCaching (memory cache) and DataCaching (disk cache).

Conforms To

OptionSet

Initializers

init(raw​Value:​)

public init(rawValue: Int)  

Properties

raw​Value

public let rawValue: Int

memory

public static let memory  

disk

public static let disk  

all

public static let all: Caches = [.memory, .disk]