Instance Method


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


func applyingTransform(_ transform: StringTransform, reverse: Bool) -> String?


You can use this method to, for example, transliterate text from one script to another, strip diacritics or combining marks, and get the unicode names of characters.


See Also

Transforming Strings

struct StringTransform

Constants representing an ICU string transform.

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