One Logo Pool Ball
UIKit · IOS API REFERENCE

UIConfigurationColorTransformer

struct · iOS 14.0+ · SDK 27.1

struct UIConfigurationColorTransformer

Members (5)

get · iOS 14.0+

preferredTint

TypeScript
static get preferredTint(): UIConfigurationColorTransformer
Swift declaration
static let preferredTint: UIConfigurationColorTransformer
method · iOS 14.0+

callAsFunction

TypeScript
callAsFunction(input: UIColor): UIColor
Swift declaration
func callAsFunction(_ input: UIColor) -> UIColor
get · iOS 14.0+

monochromeTint

TypeScript
static get monochromeTint(): UIConfigurationColorTransformer
Swift declaration
static let monochromeTint: UIConfigurationColorTransformer
get · iOS 14.0+

grayscale

TypeScript
static get grayscale(): UIConfigurationColorTransformer
Swift declaration
static let grayscale: UIConfigurationColorTransformer
get · iOS 14.0+

transform

TypeScript
get transform(): ((arg0: UIColor) => Promise<UIColor>)
Swift declaration
let transform: (UIColor) -> UIColor

Skipped declarations

1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

UIConfigurationColorTransformer.init(_:)

callback cannot propagate synchronous failure

All UIKit types →