---
title: NSTextCheckingResult.CheckingType
framework: foundation
role: symbol
role_heading: Structure
path: foundation/nstextcheckingresult/checkingtype
---

# NSTextCheckingResult.CheckingType

These constants specify the type of checking the methods should do. They are returned by resultType.

## Declaration

```swift
struct CheckingType
```

## Topics

### Constants

- [orthography](foundation/nstextcheckingresult/checkingtype/orthography.md)
- [spelling](foundation/nstextcheckingresult/checkingtype/spelling.md)
- [grammar](foundation/nstextcheckingresult/checkingtype/grammar.md)
- [date](foundation/nstextcheckingresult/checkingtype/date.md)
- [address](foundation/nstextcheckingresult/checkingtype/address.md)
- [link](foundation/nstextcheckingresult/checkingtype/link.md)
- [quote](foundation/nstextcheckingresult/checkingtype/quote.md)
- [dash](foundation/nstextcheckingresult/checkingtype/dash.md)
- [replacement](foundation/nstextcheckingresult/checkingtype/replacement.md)
- [correction](foundation/nstextcheckingresult/checkingtype/correction.md)
- [regularExpression](foundation/nstextcheckingresult/checkingtype/regularexpression.md)
- [phoneNumber](foundation/nstextcheckingresult/checkingtype/phonenumber.md)
- [transitInformation](foundation/nstextcheckingresult/checkingtype/transitinformation.md)

### Initializers

- [init(rawValue:)](foundation/nstextcheckingresult/checkingtype/init(rawvalue:).md)

### Type Properties

- [allCustomTypes](foundation/nstextcheckingresult/checkingtype/allcustomtypes.md)
- [allSystemTypes](foundation/nstextcheckingresult/checkingtype/allsystemtypes.md)
- [allTypes](foundation/nstextcheckingresult/checkingtype/alltypes.md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Equatable](swift/equatable.md)
- [ExpressibleByArrayLiteral](swift/expressiblebyarrayliteral.md)
- [OptionSet](swift/optionset.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
- [SetAlgebra](swift/setalgebra.md)

## See Also

### Constants

- [Keys for Transit Components](foundation/keys-for-transit-components.md)
- [Keys for Address Components](foundation/keys-for-address-components.md)
- [NSTextCheckingTypes](foundation/nstextcheckingtypes.md)
- [NSTextCheckingKey](foundation/nstextcheckingkey.md)
- [Anonymous](foundation/1476845-anonymous.md)
