objectValue

Returns the index of the selected item.

Declaration

- (id)objectValue

Return Value

An object (typically an NSNumber object) that responds to the intValue message and contains the index of the selected item.

See Also

Getting the user’s selection

selectedItem

The menu item that was last selected by the user.

titleOfSelectedItem

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

indexOfSelectedItem

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

selectedTag

The tag of the menu item that was last selected by the user.