Enumerationswift 6.0.1FoundationEssentials
ByteCountAttribute
- iOS
- 15+
- macOS
- 12+
- tvOS
- 15+
- watchOS
- 8+
@frozen enum ByteCountAttribute
@frozen enum ByteCountAttribute
s20FoundationEssentials15AttributeScopesO0A10AttributesV09ByteCountC0O
What are these?27QTU
import FoundationEssentials
struct FoundationAttributes
@frozen enum AttributeScopes
let alternateDescription: AttributeScopes.FoundationAttributes.AlternateDescriptionAttribute
let byteCount: AttributeScopes.FoundationAttributes.ByteCountAttribute
let dateField: AttributeScopes.FoundationAttributes.DateFieldAttribute
let durationField: AttributeScopes.FoundationAttributes.DurationFieldAttribute
let imageURL: AttributeScopes.FoundationAttributes.ImageURLAttribute
let languageIdentifier: AttributeScopes.FoundationAttributes.LanguageIdentifierAttribute
let link: AttributeScopes.FoundationAttributes.LinkAttribute
let measurement: AttributeScopes.FoundationAttributes.MeasurementAttribute
let numberFormat: AttributeScopes.FoundationAttributes.NumberFormatAttributes
let personNameComponent: AttributeScopes.FoundationAttributes.PersonNameComponentAttribute
let replacementIndex: AttributeScopes.FoundationAttributes.ReplacementIndexAttribute
@frozen enum AlternateDescriptionAttribute
@frozen enum DateFieldAttribute
@frozen enum DurationFieldAttribute
@frozen enum ImageURLAttribute
@frozen enum LanguageIdentifierAttribute
@frozen enum LinkAttribute
struct MeasurementAttribute
struct NumberFormatAttributes
@frozen enum PersonNameComponentAttribute
@frozen enum ReplacementIndexAttribute
protocol AttributedStringKey
protocol BitwiseCopyable
protocol DecodableAttributedStringKey : AttributedStringKey
protocol EncodableAttributedStringKey : AttributedStringKey
static let name: String
enum Component
enum Unit
typealias Value = AttributeScopes.FoundationAttributes.ByteCountAttribute.Component
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 }