<!--
{
  "documentType" : "article",
  "framework" : "Foundation",
  "identifier" : "/documentation/Foundation/keys-for-transit-components",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "Keys for Transit Components"
}
-->

# Keys for Transit Components

The following constants identify the possible keys returned in the components dictionary.

## Topics

### Constants

[`NSTextCheckingAirlineKey`](/documentation/Foundation/NSTextCheckingKey/airline)

A key that corresponds to the airline of a transit result.

[`NSTextCheckingFlightKey`](/documentation/Foundation/NSTextCheckingKey/flight)

A key that corresponds to the flight component of a transit result.



---

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)