Type Alias

NSStringTransform

Constants representing an ICU string transform.

Declaration

typedef NSString *NSStringTransform;

Discussion

These constants are used by the NSString method stringByApplyingTransform:reverse:.

Topics

Transliteration

NSStringTransformToLatin

A constant containing the transliteration of a string from any script to Latin script.

NSStringTransformLatinToArabic

A constant containing the transliteration of a string from Latin script to Arabic script.

NSStringTransformLatinToCyrillic

A constant containing the transliteration of a string from Latin script to Cyrillic script.

NSStringTransformLatinToGreek

A constant containing the transliteration of a string from Latin script to Greek script.

NSStringTransformLatinToHangul

A constant containing the transliteration of a string from Latin script to Hangul script.

NSStringTransformLatinToHebrew

A constant containing the transliteration of a string from Latin script to Hebrew script.

NSStringTransformLatinToHiragana

A constant containing the transliteration of a string from Latin script to Hiragana script.

NSStringTransformLatinToKatakana

A constant containing the transliteration of a string from Latin script to Katakana script.

NSStringTransformLatinToThai

A constant containing the transliteration of a string from Latin script to Thai script.

NSStringTransformHiraganaToKatakana

A constant containing the transliteration of a string from Hiragana script to Katakana script.

NSStringTransformMandarinToLatin

A constant containing the transliteration of a string from Han script to Latin.

Diacritic and Combining Mark Removal

NSStringTransformStripDiacritics

A constant containing the transformation of a string by removing diacritics.

NSStringTransformStripCombiningMarks

A constant containing the transformation of a string by removing combining marks.

Halfwidth and Fullwidth Form Conversion

NSStringTransformFullwidthToHalfwidth

A constant containing the transformation of a string from full-width CJK characters to half-width forms.

Character Representation

NSStringTransformToUnicodeName

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

NSStringTransformToXMLHex

A constant containing the transformation of a string from characters to XML hexadecimal escape codes.

See Also

Transforming Strings

- stringByApplyingTransform:reverse:

Returns a new string by applying a specified transform to the string.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software