markdownName
TypeScriptstatic get markdownName(): stringSwift declarationstatic let markdownName: StringThe Markdown name associated with an attributed string key.
enum · iOS 15.0+ · SDK 27.1
@frozen enum HeadingLevelAttributeAn attribute for the level of this heading. Assistive technologies can use this property to improve navigation and describe the level number of levels ``HeadingLevel/h1`` through ``HeadingLevel/h6`` alongside the text. For example, you can rank sections within UI using a heading level. The most important section is marked with``HeadingLevel/h1``. Nested sections can use subsequent heading levels. For unranked headings, use ``HeadingLevel/unspecified``.
static get markdownName(): stringSwift declarationstatic let markdownName: StringThe Markdown name associated with an attributed string key.
static decodeMarkdown(decoder: SDKHandle): AttributeScopes_AccessibilityAttributes_HeadingLevelAttribute_HeadingLevelSwift declarationstatic func decodeMarkdown(from decoder: any Decoder) throws -> AttributeScopes.AccessibilityAttributes.HeadingLevelAttribute.HeadingLevelDecodes a value from the provided decoder. This method throws an error if reading from the decoder fails, or if the data read is corrupted or otherwise invalid. - Parameter decoder: The decoder to read data from. - Returns: The decoded value.
static objectiveCValue(value: AttributeScopes_AccessibilityAttributes_HeadingLevelAttribute_HeadingLevel): _Foundation_NSNumberSwift declarationstatic func objectiveCValue(for value: AttributeScopes.AccessibilityAttributes.HeadingLevelAttribute.HeadingLevel) throws -> NSNumberReturns an Objective-C typed value for a given value of this key's type. - Parameter value: The value to convert. - Returns: `value`, expressed as the Objective-C type defined by ``ObjectiveCConvertibleAttributedStringKey/ObjectiveCValue``.
static get nameValue(): stringSwift declarationstatic var name: String { get }The name of the key.
static value(object: _Foundation_NSNumber): AttributeScopes_AccessibilityAttributes_HeadingLevelAttribute_HeadingLevelSwift declarationstatic func value(for object: NSNumber) throws -> AttributeScopes.AccessibilityAttributes.HeadingLevelAttribute.HeadingLevelReturns a value of this key's type for a given Objective-C value. - Parameter object: The Objective-C value to convert. - Returns: `object`, expressed as this key's type.
No declarations were skipped in this snapshot.