addItem(label:id:)

    Adds an item, with text label and (optionally) id. If no id is passed, the item index will be used as the item’s ID. New items are appended at the end.

    OptionButton.swift:81
    final func addItem(label: String, id: Int32 = -1)

    Other members in extension

    Types

    Type members

    Instance members