---
title: "show(_:)"
framework: InputMethodKit
role: symbol
role_heading: Instance Method
platforms: [macOS 10.5+]
path: "inputmethodkit/imkcandidates/show(_:)"
---

# show(_:)

Shows the candidates window.

## Declaration

```swift
func show(_ locationHint: IMKCandidatesLocationHint)
```

## Parameters

- `locationHint`: A doc://com.apple.inputmethodkit/documentation/InputMethodKit/IMKCandidatesLocationHint constant that specifies the desired position of the candidates window. The Input Method Kit uses the hint to place the candidates window in a location that is in the vicinity of the hint location and ensures that the candidates window is fully visible.

## Discussion

Discussion Your input method  calls this method when it is appropriate during text conversion to display a list of candidates.

## See Also

### Managing Window Visibility and Behavior

- [hide()](inputmethodkit/imkcandidates/hide().md)
- [isVisible()](inputmethodkit/imkcandidates/isvisible().md)
- [setDismissesAutomatically(_:)](inputmethodkit/imkcandidates/setdismissesautomatically(_:).md)
- [dismissesAutomatically()](inputmethodkit/imkcandidates/dismissesautomatically().md)
- [update()](inputmethodkit/imkcandidates/update().md)
