One Logo Pool Ball
Foundation · IOS API REFERENCE

AttributeScopes.FoundationAttributes.ListItemDelimiterAttribute

enum · iOS 26.0+ · SDK 27.1

@frozen enum ListItemDelimiterAttribute

Members (5)

static · iOS 26.0+

objectiveCValue

TypeScript
static objectiveCValue(value: string): NSString
Swift declaration
static func objectiveCValue(for value: Character) throws -> NSString

Returns 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``.

get · iOS 26.0+

name

TypeScript
static get nameValue(): string
Swift declaration
static let name: String

The name of the key.

static · iOS 26.0+

value

TypeScript
static value(object: NSString): string
Swift declaration
static func value(for object: NSString) throws -> Character

Returns 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.

static · iOS 26.0+

decode

TypeScript
static decode(decoder: SDKHandle): string
Swift declaration
static func decode(from decoder: any Decoder) throws -> Character

Decodes 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 · iOS 26.0+

encode

TypeScript
static encode(value: string, encoder: SDKHandle): void
Swift declaration
static func encode(_ value: Character, to encoder: any Encoder) throws

Encodes a value to the provided encoder. This method throws an error if writing to the encoder fails. - Parameters: - value: The value to encode. - encoder: The encoder to write data to.

Skipped declarations

No declarations were skipped in this snapshot.

All Foundation types →