---
title: "comboBoxWillDismiss(_:)"
framework: appkit
role: symbol
role_heading: Instance Method
path: "appkit/nscomboboxdelegate/comboboxwilldismiss(_:)"
---

# comboBoxWillDismiss(_:)

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

## Declaration

```swift
@MainActor optional func comboBoxWillDismiss(_ notification: Notification)
```

## Parameters

- `notification`: A notification named doc://com.apple.appkit/documentation/AppKit/NSComboBox/willDismissNotification.

## See Also

### Manipulating the selection

- [comboBoxSelectionDidChange(_:)](appkit/nscomboboxdelegate/comboboxselectiondidchange(_:).md)
- [comboBoxSelectionIsChanging(_:)](appkit/nscomboboxdelegate/comboboxselectionischanging(_:).md)
- [comboBoxWillPopUp(_:)](appkit/nscomboboxdelegate/comboboxwillpopup(_:).md)
