---
title: NSTextFinder.MatchingType
framework: appkit
role: symbol
role_heading: Enumeration
path: appkit/nstextfinder/matchingtype
---

# NSTextFinder.MatchingType

The following constants indicate the type of search anchor an action should perform.

## Declaration

```swift
enum MatchingType
```

## Topics

### Constants

- [NSTextFinder.MatchingType.contains](appkit/nstextfinder/matchingtype/contains.md)
- [NSTextFinder.MatchingType.startsWith](appkit/nstextfinder/matchingtype/startswith.md)
- [NSTextFinder.MatchingType.fullWord](appkit/nstextfinder/matchingtype/fullword.md)
- [NSTextFinder.MatchingType.endsWith](appkit/nstextfinder/matchingtype/endswith.md)

### Initializers

- [init(rawValue:)](appkit/nstextfinder/matchingtype/init(rawvalue:).md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Constants

- [NSTextFinder.Action](appkit/nstextfinder/action.md)
- [Text Finder Options For The Pasteboard](appkit/text-finder-options-for-the-pasteboard.md)
