Instance Property

target

The menu item's target.

Declaration

@property(weak) id target;

Discussion

To ensure that a menu item’s target can receive commands while a modal dialog is open, the target object should return YES in worksWhenModal.

See Also

Managing the Target and Action

action

The menu item's action-method selector.