Contents

toUnicodeName

An identifier for a transform that converts characters to Unicode names.

Declaration

static let toUnicodeName: StringTransform

Discussion

For example, the string “🐶🐮” transforms to "``\N{DOG FACE}\N{COW FACE}" .

Passing this constant to the applyTransform(_:reverse:range:updatedRange:) method is equivalent to passing kCFStringTransformToUnicodeName to CFStringTransform(_:_:_:_:).

See Also

Constants