<!--
{
  "availability" : [
    "iOS: 2.0.0 -",
    "iPadOS: 2.0.0 -",
    "macCatalyst: 13.0.0 -",
    "macOS: 10.0.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Foundation",
  "identifier" : "/documentation/Foundation/NSTextCheckingResult/CheckingType",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Foundation"
    ],
    "preciseIdentifier" : "c:@E@NSTextCheckingType"
  },
  "title" : "NSTextCheckingResult.CheckingType"
}
-->

# NSTextCheckingResult.CheckingType

These constants specify the type of checking the methods should do. They are returned by [`resultType`](/documentation/Foundation/NSTextCheckingResult/resultType).

```
struct CheckingType
```

## Topics

### Constants

[`orthography`](/documentation/Foundation/NSTextCheckingResult/CheckingType/orthography)

Attempts to identify the language

[`spelling`](/documentation/Foundation/NSTextCheckingResult/CheckingType/spelling)

Checks spelling.

[`grammar`](/documentation/Foundation/NSTextCheckingResult/CheckingType/grammar)

Checks grammar.

[`date`](/documentation/Foundation/NSTextCheckingResult/CheckingType/date)

Attempts to locate dates.

[`address`](/documentation/Foundation/NSTextCheckingResult/CheckingType/address)

Attempts to locate addresses.

[`link`](/documentation/Foundation/NSTextCheckingResult/CheckingType/link)

Attempts to locate URL links.

[`quote`](/documentation/Foundation/NSTextCheckingResult/CheckingType/quote)

Replaces quotes with smart quotes.

[`dash`](/documentation/Foundation/NSTextCheckingResult/CheckingType/dash)

Replaces dashes with em-dashes.

[`replacement`](/documentation/Foundation/NSTextCheckingResult/CheckingType/replacement)

Replaces characters such as (c) with the appropriate symbol (in this case ©).

[`correction`](/documentation/Foundation/NSTextCheckingResult/CheckingType/correction)

Performs autocorrection on misspelled words.

[`regularExpression`](/documentation/Foundation/NSTextCheckingResult/CheckingType/regularExpression)

Matches a regular expression.

[`phoneNumber`](/documentation/Foundation/NSTextCheckingResult/CheckingType/phoneNumber)

Matches a phone number.

[`transitInformation`](/documentation/Foundation/NSTextCheckingResult/CheckingType/transitInformation)

Matches a transit information, for example, flight information.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)