---
title: "panel(_:didSelect:)"
framework: appkit
role: symbol
role_heading: Instance Method
path: "appkit/nsopensavepaneldelegate/panel(_:didselect:)"
---

# panel(_:didSelect:)

NSSavePanel: Optional — Sent when the user changes the current type. NSOpenPanel: Not sent.

## Declaration

```swift
@MainActor optional func panel(_ sender: Any, didSelect type: UTType?)
```
