Contents

objectValueOfSelectedItem

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

Declaration

var objectValueOfSelectedItem: Any? { get }

Discussion

The value of this property is the object from the combo box’s internal item list corresponding to the last item selected from the pop-up list, or nil if no item is selected.

Note that nothing is initially selected in a newly initialized combo box cell. Accessing this property logs a warning if usesDataSource is true.

See Also

Manipulating the Selection