boundingRegion(for:)
Calculates a bounding region around the range of characters within a string.
Declaration
func boundingRegion(for range: Range<String.Index>) -> NormalizedRegion?Parameters
- range:
An interval for the amount of characters within the text string.