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.