Enumerationswift 6.0.1FoundationEssentials
LanguageIdentifierAttribute
- iOS
- 15+
- macOS
- 12+
- tvOS
- 15+
- watchOS
- 8+
@frozen enum LanguageIdentifierAttribute
@frozen enum LanguageIdentifierAttribute
s20FoundationEssentials15AttributeScopesO0A10AttributesV018LanguageIdentifierC0O
What are these?79BKH
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 ByteCountAttribute
@frozen enum DateFieldAttribute
@frozen enum DurationFieldAttribute
@frozen enum ImageURLAttribute
@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
typealias Value = String
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 }