Enumerationswift 6.0.1FoundationEssentials
SymbolAttribute
- iOS
- 15+
- macOS
- 12+
- tvOS
- 15+
- watchOS
- 8+
@frozen enum SymbolAttribute
@frozen enum SymbolAttribute
s20FoundationEssentials15AttributeScopesO0A10AttributesV012NumberFormatE0V06SymbolC0O
What are these?5PGXW
import FoundationEssentials
struct NumberFormatAttributes
@frozen enum AttributeScopes
struct FoundationAttributes
let numberPart: AttributeScopes.FoundationAttributes.NumberFormatAttributes.NumberPartAttribute
let numberSymbol: AttributeScopes.FoundationAttributes.NumberFormatAttributes.SymbolAttribute
@frozen enum NumberPartAttribute
protocol AttributedStringKey
protocol BitwiseCopyable
protocol DecodableAttributedStringKey : AttributedStringKey
protocol EncodableAttributedStringKey : AttributedStringKey
static let name: String
enum Symbol
typealias Value = AttributeScopes.FoundationAttributes.NumberFormatAttributes.SymbolAttribute.Symbol
static var inheritedByAddedText: Bool { get }
static var invalidationConditions: Set<AttributedString.AttributeInvalidationCondition>? { get }
static var runBoundaries: AttributedString.AttributeRunBoundaries? { get }
static func decode(from decoder: any Decoder) throws -> Self.Value
static func encode(_ value: Self.Value, to encoder: any Encoder) throws
var description: String { get }