<!--
{
  "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/NSTextCheckingTypes",
  "metadataVersion" : "0.1.0",
  "role" : "Type Alias",
  "symbol" : {
    "kind" : "Type Alias",
    "modules" : [
      "Foundation"
    ],
    "preciseIdentifier" : "c:@T@NSTextCheckingTypes"
  },
  "title" : "NSTextCheckingTypes"
}
-->

# NSTextCheckingTypes

Defines the types of checking that are available. These values can be combined using the C-bitwise OR operator. The system supports its own internal types, and the user can extend those types by subclassing `NSTextCheckingResult` and adding their own custom types.

```
typealias NSTextCheckingTypes = UInt64
```

## Topics

### Constants

[`NSTextCheckingAllSystemTypes`](/documentation/Foundation/NSTextCheckingAllSystemTypes)

Checking types supported by the system. The first 32 types are reserved.

[`NSTextCheckingAllCustomTypes`](/documentation/Foundation/NSTextCheckingAllCustomTypes)

Checking types that can be used by clients.

[`NSTextCheckingAllTypes`](/documentation/Foundation/NSTextCheckingAllTypes)

All possible checking types, both system- and user-supported.



---

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)