---
title: didReplaceCharacters()
framework: appkit
role: symbol
role_heading: Instance Method
path: appkit/nstextfinderclient/didreplacecharacters()
---

# didReplaceCharacters()

Specifies whether text characters were replaced.

## Declaration

```swift
optional func didReplaceCharacters()
```

## Discussion

Discussion See NSTextFinder for a complete description.

## See Also

### Replacing Text

- [shouldReplaceCharacters(inRanges:with:)](appkit/nstextfinderclient/shouldreplacecharacters(inranges:with:).md)
- [replaceCharacters(in:with:)](appkit/nstextfinderclient/replacecharacters(in:with:).md)
