---
title: "view(for:firstRect:actualRange:)"
framework: appkit
role: symbol
role_heading: Instance Method
path: "appkit/nstextcheckingclient/view(for:firstrect:actualrange:)"
---

# view(for:firstRect:actualRange:)

## Declaration

```swift
func view(for range: NSRange, firstRect: NSRectPointer?, actualRange: NSRangePointer?) -> NSView?
```

## See Also

### Instance Methods

- [addAnnotations(_:range:)](appkit/nstextcheckingclient/addannotations(_:range:).md)
- [annotatedSubstring(forProposedRange:actualRange:)](appkit/nstextcheckingclient/annotatedsubstring(forproposedrange:actualrange:).md)
- [candidateListTouchBarItem()](appkit/nstextcheckingclient/candidatelisttouchbaritem().md)
- [removeAnnotation(_:range:)](appkit/nstextcheckingclient/removeannotation(_:range:).md)
- [replaceCharacters(in:withAnnotatedString:)](appkit/nstextcheckingclient/replacecharacters(in:withannotatedstring:).md)
- [selectAndShow(_:)](appkit/nstextcheckingclient/selectandshow(_:).md)
- [setAnnotations(_:range:)](appkit/nstextcheckingclient/setannotations(_:range:).md)
