Contents

objectValueOfSelectedItem

The object corresponding to the last item selected from the pop-up list.

Declaration

var objectValueOfSelectedItem: Any? { get }

Discussion

For combo boxes that use their own internally maintained list of items, this property contains the object in that list that is selected. If no item is selected, the value in this property is nil. Nothing is selected in a newly initialized combo box. This method logs a warning if the usesDataSource property is true.

See Also

Manipulating the Selection