---
title: "present(from:completionHandler:)"
framework: ScreenCaptureKit
role: symbol
role_heading: Instance Method
platforms: [macOS 27.0+]
path: "screencapturekit/screcordingeditor/present(from:completionhandler:)-1nvxe"
---

# present(from:completionHandler:)

## Declaration

```swift
func present(from window: NSWindow, completionHandler: @escaping @Sendable ((any Error)?) -> Void)
```

```swift
func present(from window: NSWindow) async throws
```

## Parameters

- `window`: The window to present from.
- `completionHandler`: Called when presentation completes. error is nil on success.

## Discussion

Discussion Present the recording editor from the specified window.
