Instance Method

deselectItemAtIndex:

Deselects the pop-up list item at the given index if it’s selected.

Declaration

- (void)deselectItemAtIndex:(NSInteger)index;

Parameters

index

The index of the item to deselect.

Discussion

If the selection does in fact change, this method posts an NSComboBoxSelectionDidChangeNotification to the default notification center.

See Also

Manipulating the Selection

indexOfSelectedItem

The index of the last item selected from the pop-up list.

objectValueOfSelectedItem

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

- selectItemAtIndex:

Selects the pop-up list row at the given index.

- selectItemWithObjectValue:

Selects the first pop-up list item that corresponds to the specified object.