---
title: visibleCharacterRanges
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nstextfinderclient/visiblecharacterranges
---

# visibleCharacterRanges

An array of visible character ranges.

## Declaration

```swift
optional var visibleCharacterRanges: [NSValue] { get }
```

## Discussion

Discussion The text finder uses this property’s value to determine which ranges it should search to show all of the incremental matches that are currently visible. If this property is not implemented, then the incremental matches cannot be shown. The array contains NSValue objects that wrap NSRect structures.

## See Also

### Determining and Displaying Text Locations

- [contentView(at:effectiveCharacterRange:)](appkit/nstextfinderclient/contentview(at:effectivecharacterrange:).md)
- [rects(forCharacterRange:)](appkit/nstextfinderclient/rects(forcharacterrange:).md)
- [scrollRangeToVisible(_:)](appkit/nstextfinderclient/scrollrangetovisible(_:).md)
