An NSActionCell defines an active area inside a control (an instance of NSControl or one of its subclasses).


As an NSControl’s active area, an NSActionCell does three things: it usually performs display of text or an icon; it provides the NSControl with a target and an action; and it handles mouse (cursor) tracking by properly highlighting its area and sending action messages to its target based on cursor movement.


Assigning the Target and Action

var action: Selector?

Returns the receiver’s action-message selector.

var target: AnyObject?

Returns the receiver’s target object.

Assigning a Tag

var tag: Int

Returns the receiver’s tag.


Inherits From

Conforms To