Contents

indexOfSelectedItem

The index of the item that was last selected by the user.

Declaration

var indexOfSelectedItem: Int { get }

Discussion

If no item is selected, the value in this property is -1.

See Also

Getting the user’s selection