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.
The index of the item that was last selected by the user.
var indexOfSelectedItem: Int { get }If no item is selected, the value in this property is -1.