<!--
{
  "documentType" : "article",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/uikit-data-types",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "UIKit Data Types"
}
-->

# UIKit Data Types

The UIKit framework defines data types that are used in multiple places throughout the framework.

## Topics

### Data Types

[`ComponentKey`](/documentation/UIKit/UITextFormattingViewController/ComponentKey)

Predefined text formatting view controller components.

[`Highlight`](/documentation/UIKit/UITextFormattingViewController/Highlight)

Text formatting highlight state.

[`TextAlignment`](/documentation/UIKit/UITextFormattingViewController/TextAlignment)

Text formatting horizontal alignment state.

[`TextList`](/documentation/UIKit/UITextFormattingViewController/TextList)

Text formatting text list state.

[`UITextFormattingViewControllerChangeType`](/documentation/UIKit/UITextFormattingViewControllerChangeType)

Enumeration of text formatting actions.



---

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)