OptionItem

open class OptionItem : UIView

The base class for all the available option items.

  • All the available option item types.

    See more

    Declaration

    Swift

    public enum ItemType : Int
  • id

    The unique id assigned to this option item. The id is useful for setting the initial values or monitoring the changes when a panel contains a lot of option items. For example, assume a panel has more than one NumericOptionItem object. In this case, setting an id will help to differentiate the items.

    Declaration

    Swift

    public internal(set) var id: Int
  • The type of the option item.

    Declaration

    Swift

    public internal(set) var type: OptionItem.ItemType!
  • The object which acts as the delegate of the option item.

    Declaration

    Swift

    public weak var delegate: OptionItemDelegate?