Nuke Documentation

Structure Image​Loading​Options.​Tint​Colors

public struct TintColors  

Custom tint color to be used for each image type (placeholder, success, failure).

Member Of

ImageLoadingOptions

A set of options that control how the image is loaded and displayed.

Initializers

init(success:​failure:​placeholder:​)

public init(success: UIColor?, failure: UIColor?, placeholder: UIColor?)  
  • parameter success: A tint color to be used with a loaded image.
  • parameter failure: A tint color to be used with a failureImage.
  • parameter placeholder: A tint color to be used with a placeholder.

Properties

success

public var success: UIColor? 

Tint color to be used for the loaded image.

failure

public var failure: UIColor? 

Tint color to be used when displaying a failureImage.

placeholder

public var placeholder: UIColor? 

Tint color to be used when displaying a placeholder.