Type Method

appearance(whenContainedInInstancesOf:)

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

Required.

Declaration

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

Parameters

containerTypes

An array of appearance container classes.

Return Value

The appearance proxy to use for the object.

See Also

Appearance Methods

static func appearance() -> Self

Returns the appearance proxy for the receiver.

Required.

static func appearance(for: UITraitCollection) -> Self

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

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.