Appearance
A collection of methods that gives you access to the appearance proxy for a class.
public protocol Appearance
Requirements
appearance()
Returns the appearance proxy for the receiver.
static func appearance() -> Self
appearance(for:)
Returns the appearance proxy for the receiver that has the passed trait collection.
static func appearance(for trait: TraitCollection) -> Self
appearance(whenContainedInInstancesOf:)
Returns the appearance proxy for the object when it is contained in the hierarchy the specified classes describe.
static func appearance(whenContainedInInstancesOf containerTypes: [AppearanceContainer.Type])
-> Self
appearance(for:whenContainedInInstancesOf:)
Returns the appearance proxy for the object when it is contained in the hierarchy the specified classes describe and has the specified trait collection.
static func appearance(for trait: TraitCollection,
whenContainedInInstancesOf containerTypes: [AppearanceContainer.Type]) -> Self