StructureFoundationEssentials
AttributeScopes.FoundationAttributes
iOS 15.0+
iPadOS 15.0+
Mac Catalyst 15.0+
macOS 12.0+
tvOS 15.0+
watchOS 8.0+
Attribute scopes that Foundation defines.
struct FoundationAttributes
Topics
Structures
struct MeasurementAttributestruct NumberFormatAttributesA type for using a number format as an attribute.
Instance Properties
let alternateDescription: AttributeScopes.FoundationAttributes.AlternateDescriptionAttributeA property for accessing an alternative presentation attribute.let byteCount: AttributeScopes.FoundationAttributes.ByteCountAttributelet dateField: AttributeScopes.FoundationAttributes.DateFieldAttributeA property for accessing a date field attribute.let durationField: AttributeScopes.FoundationAttributes.DurationFieldAttributelet imageURL: AttributeScopes.FoundationAttributes.ImageURLAttributeA property for accessing an image URL attribute.let languageIdentifier: AttributeScopes.FoundationAttributes.LanguageIdentifierAttributeA property for accessing a language identifier attribute.let link: AttributeScopes.FoundationAttributes.LinkAttributeA property for accessing the link attribute.let measurement: AttributeScopes.FoundationAttributes.MeasurementAttributelet numberFormat: AttributeScopes.FoundationAttributes.NumberFormatAttributesA property for accessing a number format attribute.let personNameComponent: AttributeScopes.FoundationAttributes.PersonNameComponentAttributeA property for accessing a person name component attribute.let replacementIndex: AttributeScopes.FoundationAttributes.ReplacementIndexAttributeA property for accessing a replacement index attribute.let writingDirection: AttributeScopes.FoundationAttributes.WritingDirectionAttributeThe base writing direction of a paragraph.
Enumerations
enum AlternateDescriptionAttributeA type for using an alternative description as an attribute.enum ByteCountAttributeenum DateFieldAttributeA type for using a date field as an attribute.enum DurationFieldAttributeenum ImageURLAttributeA type for using an image URL as an attribute.enum LanguageIdentifierAttributeA type for using a language identifier as an attribute.enum LinkAttributeA type for using a link as an attribute.enum PersonNameComponentAttributeA type for using a person name component as an attribute.enum ReplacementIndexAttributeA type for using a replacement index as an attribute.enum WritingDirectionAttributeThe attribute key for the base writing direction of a paragraph.
Relationships
Conforms To
AttributeScopeDecodingConfigurationProvidingEncodingConfigurationProvidingSwift.SendableMetatype