---
title: components
framework: foundation
role: symbol
role_heading: Instance Property
path: foundation/nstextcheckingresult/components
---

# components

A dictionary containing the components of a type checking result.

## Declaration

```swift
var components: [NSTextCheckingKey : String]? { get }
```

## Discussion

Discussion Currently used by the transit checking result. The supported keys are located in Keys for Transit Components.

## See Also

### Related Documentation

- [transitInformationCheckingResult(range:components:)](foundation/nstextcheckingresult/transitinformationcheckingresult(range:components:).md)
