# `GSAlert showWindowWithCompletion:`

*Instance Method*

## Declaration

```swift
func showWindow(completion: ((NSApplication.ModalResponse) -> Void)!)
```

```swift
func showWindow() async -> NSApplication.ModalResponse
```

```objc
- (void) showWindowWithCompletion:(void (^)(NSModalResponse response)) completion;
```

```python
showWindowWithCompletion_(response: NSModalResponse, completion)
```

