Mac Developer Library

Developer

AppKit Framework Reference NSComboBoxDelegate Protocol Reference

Options
Deployment Target:

On This Page
Language:

NSComboBoxDelegate

Inheritance


Not Applicable

Conforms To


Import Statement


Swift

import AppKit

Objective-C

@import AppKit;

Availability


Available in OS X v10.6 and later.

The NSComboBoxDelegate protocol defines the optional methods implemented by delegates of NSComboBox objects.

  • Informs the delegate that the pop-up list selection has finished changing.

    Declaration

    Swift

    optional func comboBoxSelectionDidChange(_ notification: NSNotification)

    Objective-C

    - (void)comboBoxSelectionDidChange:(NSNotification *)notification

    Parameters

    notification

    Import Statement

    Objective-C

    @import AppKit;

    Swift

    import AppKit

    Availability

    Available in OS X v10.0 and later.

    Available as part of an informal protocol prior to OS X v10.6.

  • Informs the delegate that the pop-up list selection is changing.

    Declaration

    Swift

    optional func comboBoxSelectionIsChanging(_ notification: NSNotification)

    Objective-C

    - (void)comboBoxSelectionIsChanging:(NSNotification *)notification

    Parameters

    notification

    Import Statement

    Objective-C

    @import AppKit;

    Swift

    import AppKit

    Availability

    Available in OS X v10.0 and later.

    Available as part of an informal protocol prior to OS X v10.6.

  • Informs the delegate that the pop-up list is about to be dismissed.

    Declaration

    Swift

    optional func comboBoxWillDismiss(_ notification: NSNotification)

    Objective-C

    - (void)comboBoxWillDismiss:(NSNotification *)notification

    Parameters

    notification

    A notification named NSComboBoxWillDismissNotification.

    Import Statement

    Objective-C

    @import AppKit;

    Swift

    import AppKit

    Availability

    Available in OS X v10.0 and later.

    Available as part of an informal protocol prior to OS X v10.6.

  • Informs the delegate that the pop-up list is about to be displayed.

    Declaration

    Swift

    optional func comboBoxWillPopUp(_ notification: NSNotification)

    Objective-C

    - (void)comboBoxWillPopUp:(NSNotification *)notification

    Parameters

    notification

    A notification named NSComboBoxWillPopUpNotification.

    Import Statement

    Objective-C

    @import AppKit;

    Swift

    import AppKit

    Availability

    Available in OS X v10.0 and later.

    Available as part of an informal protocol prior to OS X v10.6.