Instance Method

indexOfSelectedItem()

Returns the index of the selected entry.

Declaration

func indexOfSelectedItem() -> Int

Return Value

The index of the selected entry, or -1 if no entry is selected.

See Also

Getting Cells and Indices

func indexOfCell(withTag: Int) -> Int

Returns the index of the entry whose tag is tag.

Deprecated
func cell(at: Int) -> Any!

Returns the entry at the specified index.

Deprecated