---
title: "windowWillExitVersionBrowser(_:)"
framework: appkit
role: symbol
role_heading: Instance Method
path: "appkit/nswindowdelegate/windowwillexitversionbrowser(_:)"
---

# windowWillExitVersionBrowser(_:)

Tells the delegate that the window is about to leave version browsing.

## Declaration

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

## Parameters

- `notification`: An doc://com.apple.appkit/documentation/AppKit/NSWindow/willExitVersionBrowserNotification notification.

## See Also

### Managing Presentation in Version Browsers

- [window(_:willResizeForVersionBrowserWithMaxPreferredSize:maxAllowedSize:)](appkit/nswindowdelegate/window(_:willresizeforversionbrowserwithmaxpreferredsize:maxallowedsize:).md)
- [windowWillEnterVersionBrowser(_:)](appkit/nswindowdelegate/windowwillenterversionbrowser(_:).md)
- [windowDidEnterVersionBrowser(_:)](appkit/nswindowdelegate/windowdidenterversionbrowser(_:).md)
- [windowDidExitVersionBrowser(_:)](appkit/nswindowdelegate/windowdidexitversionbrowser(_:).md)
