Required Instance Propertyswift 6.0.3FoundationEssentials
unicodeScalars
- iOS
- 15+
- macOS
- 12+
- tvOS
- 15+
- watchOS
- 8+
var unicodeScalars: AttributedString.UnicodeScalarView { get }
var unicodeScalars: AttributedString.UnicodeScalarView { get }
s20FoundationEssentials24AttributedStringProtocolP14unicodeScalarsAA0cD0V17UnicodeScalarViewVvp
What are these?8B9ZF
import FoundationEssentials
@dynamicMemberLookup protocol AttributedStringProtocol : AttributedStringAttributeMutation, CustomStringConvertible, Hashable, Sendable
@dynamicMemberLookup struct AttributedString
struct UnicodeScalarView
var characters: AttributedString.CharacterView { get }
var endIndex: AttributedString.Index { get }
var runs: AttributedString.Runs { get }
var startIndex: AttributedString.Index { get }
@preconcurrency subscript<K>(_: K.Type) -> K.Value? where K : AttributedStringKey, K.Value : Sendable { get set }
subscript<R>(bounds: R) -> AttributedSubstring where R : RangeExpression, R.Bound == AttributedString.Index { get }
@preconcurrency subscript<K>(dynamicMember keyPath: KeyPath<AttributeDynamicLookup, K>) -> K.Value? where K : AttributedStringKey, K.Value : Sendable { get set }
subscript<S>(dynamicMember keyPath: KeyPath<AttributeScopes, S.Type>) -> ScopedAttributeContainer<S> where S : AttributeScope { get set }