Constants for user interactions that change the appearance of a view or control.



case none

No additional effects.

case pressed

The color that indicates the item was pressed.

case deepPressed

The color that indicates the item received a deep press.

case disabled

The color that indicates the item is disabled.

case rollover

The color that indicates the mouse rolled over the item.

See Also

Applying a Specific Appearance to a Color

func withSystemEffect(NSColor.SystemEffect) -> NSColor

Returns a new color object that represents the current color modified to include the specified visual effect.


Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software