---
title: noteClientStringWillChange()
framework: appkit
role: symbol
role_heading: Instance Method
path: appkit/nstextfinder/noteclientstringwillchange()
---

# noteClientStringWillChange()

Invoke this method when the searched content will change.

## Declaration

```swift
func noteClientStringWillChange()
```

## Discussion

Discussion When incremental search is enabled, this method must be called when it is known that the client’s string will be modified. This method must be called before the client string modification takes place.

## See Also

### Related Documentation

- [client](appkit/nstextfinder/client.md)
