Type Alias

CGCharCode

Represents a character generated by pressing one or more keys on a keyboard.

Declaration

typealias CGCharCode = UInt16

Discussion

This data type represents a 16-bit character code. Values of this type may or may not correspond to UTF-16 character codes. See the function CGPostKeyboardEvent(_:_:_:).