Contents

selectItem(at:)

Selects the pop-up list row at the given index.

Declaration

func selectItem(at index: Int)

Parameters

  • index:

    The index of the row to select.

Discussion

Posts an selectionDidChangeNotification to the default notification center if the selection does in fact change. Note that this method does not alter the contents of the combo box cell’s text field—see Combo Box Programming Topics for more information.

See Also

Related Documentation

Manipulating the Selection