Instance Method


Returns the range in the string of the composed character sequences for a given range.


func rangeOfComposedCharacterSequences(for range: NSRange) -> NSRange



A range in the receiver. The range must not exceed the bounds of the receiver.

Return Value

The range in the receiver that includes the composed character sequences in range.


This method provides a convenient way to grow a range to include all composed character sequences it overlaps.

See Also

Determining Composed Character Sequences

func rangeOfComposedCharacterSequence(at: Int) -> NSRange

Returns the range in the receiver of the composed character sequence located at a given index.

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