Type Method

appearance(for:)

Returns the appearance proxy for the receiver that has the passed trait collection.

Required.

Declaration

static func appearance(for trait: UITraitCollection) -> Self

Parameters

trait

The trait collection used for matching.

Return Value

The appearance proxy for the receiver.

See Also

Appearance Methods

static func appearance() -> Self

Returns the appearance proxy for the receiver.

Required.

static func appearance(whenContainedInInstancesOf: [UIAppearanceContainer.Type]) -> Self

Returns the appearance proxies when the object is contained by one of the specified classes.

Required.

static func appearance(for: UITraitCollection, whenContainedInInstancesOf: [UIAppearanceContainer.Type]) -> Self

Returns the appearance proxy for an object that is contained by one of the specified classes and has the specified trait collection.

Required.