---
title: checkingTypes
framework: foundation
role: symbol
role_heading: Instance Property
path: foundation/nsdatadetector/checkingtypes
---

# checkingTypes

Returns the checking types for the data detector.

## Declaration

```swift
var checkingTypes: NSTextCheckingTypes { get }
```

## Discussion

Discussion The supported subset of checking types are specified in NSTextCheckingResult.CheckingType. Those constants can be combined using the C-bitwise OR operator. Currently, the supported data detectors checkingTypes are:  date, address, link, NSTextCheckingTypePhoneNumber, and NSTextCheckingTypeTransitInformation.
