HYPPluginMenuItem

@protocol HYPPluginMenuItem

HYPPluginMenuItem Represents a row in the Hyperion plugin list.

  • Sets the menu item to selected/unselected.

    Declaration

    Objective-C

    - (void)setSelected:(BOOL)selected animated:(BOOL)animated;

    Swift

    func setSelected(_ selected: Any!, animated: Any!)

    Parameters

    selected

    Whether or not the menu item should be selected.

    animated

    Whether or not the selection should be animated.

  • The selection state of the menu item.

    Declaration

    Objective-C

    @property (readonly, getter=isSelected, nonatomic) BOOL selected;

    Swift

    var selected: Int32 { get }
  • The delegate that should get informed on menu item changes.

    Declaration

    Objective-C

    @property (readwrite, nonatomic) id<HYPPluginMenuItemDelegate> delegate;

    Swift

    weak var delegate: HYPPluginMenuItemDelegate! { get set }