Instance Propertyswift 6.0.3FoundationEssentials
range
- iOS
- 15+
- macOS
- 12+
- tvOS
- 15+
- watchOS
- 8+
var range: Range<AttributedString.Index>
var range: Range<AttributedString.Index>
s20FoundationEssentials16AttributedStringV26SingleAttributeTransformerV5rangeSnyAC5IndexVGvp
What are these?4SYD3
import FoundationEssentials
@preconcurrency struct SingleAttributeTransformer<T> where T : AttributedStringKey, T.Value : Sendable
@dynamicMemberLookup struct AttributedString
@frozen struct Range<Bound> where Bound : Comparable
A half-open interval from a lower bound up to, but not including, an upper bound.
struct Index
var value: T.Value? { get set }
@preconcurrency mutating func replace<U>(with key: U.Type, value: U.Value) where U : AttributedStringKey, U.Value : Sendable
@preconcurrency mutating func replace<U>(with keyPath: KeyPath<AttributeDynamicLookup, U>, value: U.Value) where U : AttributedStringKey, U.Value : Sendable