rangeOfComposedCharacterSequences(for:)
Returns the range in the string of the composed character sequences for a given range.
Declaration
func rangeOfComposedCharacterSequences(for range: NSRange) -> NSRangeParameters
- range:
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.
Discussion
This method provides a convenient way to grow a range to include all composed character sequences it overlaps.