---
title: UCKeyStateTerminators
framework: coreservices
role: symbol
role_heading: Structure
path: coreservices/uckeystateterminators
---

# UCKeyStateTerminators

Lists the default terminators for each dead-key state handled by a 'uchr' resource.

## Declaration

```swift
struct UCKeyStateTerminators
```

## Overview

Overview The Unicode keyboard-layout ( 'uchr') resource contains the data necessary to map virtual key codes to Unicode character codes for a given keyboard layout. The 'uchr' format consists of a header information section and five key mapping data sections. The UCKeyStateTerminators type is used in the fourth key mapping section of the 'uchr  ' resource.  The UCKeyStateTerminators structure contains the list of default terminators (characters or sequences) for each dead-key state that is handled by a 'uchr' resource. When a dead-key state is in effect but a modifier-and-key combination is typed which has no special handling for that state, the default terminator for the state is output before the modifier-and-key combination is processed. If this table is not present or does not extend far enough to have a terminator for the state, nothing is output when the state terminates.

## Topics

### Initializers

- [init()](coreservices/uckeystateterminators/1448249-init.md)
- [init(keyStateTerminatorsFormat:keyStateTerminatorCount:keyStateTerminators:)](coreservices/uckeystateterminators/1443209-init.md)

### Instance Properties

- [keyStateTerminatorCount](coreservices/uckeystateterminators/1390511-keystateterminatorcount.md)
- [keyStateTerminators](coreservices/uckeystateterminators/1390409-keystateterminators.md)
- [keyStateTerminatorsFormat](coreservices/uckeystateterminators/1390431-keystateterminatorsformat.md)
