Instance Property

delegate

The delegate of the menu.

Declaration

@property(weak) id<NSMenuDelegate> delegate;

Discussion

This property indicates the delegate of the menu.

You can use the delegate to populate a menu just before it is drawn and to check for key equivalents without creating a menu item.

See Also