The appearance that will be used when the receiver is drawn onscreen, in an NSAppearance
object. (read-only)
Required.
SDK
- macOS 10.9+
Framework
- App
Kit
Declaration
var effectiveAppearance: NSAppearance { get }
Discussion
The default value for this property is provided by the nearest ancestor of the receiver that has set an appearance.
You can use this property to ensure that an offscreen view sets the appropriate current appearance when it draws onscreen.