HYPPluginMenuItem

HYPPluginMenuItem Represents a row in the Hyperion plugin list.

  • Sets the title and image and styling of the menu item.

    Declaration

    Objective-C

    - (void)bindWithTitle:(NSString *)title image:(id)image;

    Swift

    func bind(withTitle title: Any!, image: Any!)

    Parameters

    title

    The title of the menu item.

    image

    The image of the menu item.

  • The tap gesture that determines when the menu item has been selected.

    Note: This can be removed for customization purposes, but please ensure the proper delegate methods are called.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) int *tapGesture;

    Swift

    var tapGesture: UnsafeMutablePointer
  • The label that displays the plugin image.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) int *titleLabel;

    Swift

    var titleLabel: UnsafeMutablePointer
  • The ImageView that displays the plugin image.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) int *pluginImageView;

    Swift

    var pluginImageView: UnsafeMutablePointer
  • The height of the plugin menu item. This value defaults to 130.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) CGFloat height;

    Swift

    var height: Int32 { get set }