Skip to content

Instance MethodFoundationEssentials

removeSubranges(_:)

iOS 26.0+ iPadOS 26.0+ Mac Catalyst 26.0+ macOS 26.0+ tvOS 26.0+ visionOS 26.0+ watchOS 26.0+
Removes the elements at the given indices.
mutating func removeSubranges(_ subranges: RangeSet<AttributedString.Index>)

Parameters

subranges

The indices of the elements to remove.