One Logo Pool Ball
UIKit · IOS API REFERENCE

AttributeScopes.UIKitAttributes.TextEffectAttribute

enum · iOS 15.0+ · SDK 27.1

@frozen enum TextEffectAttribute

Members (3)

get · iOS 15.0+

name

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

The name of the key.

static · iOS 15.0+

decode

TypeScript
static decode(decoder: SDKHandle): NSAttributedString_TextEffectStyle
Swift declaration
static func decode(from decoder: any Decoder) throws -> NSAttributedString.TextEffectStyle

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 15.0+

encode

TypeScript
static encode(value: NSAttributedString_TextEffectStyle, encoder: SDKHandle): void
Swift declaration
static func encode(_ value: NSAttributedString.TextEffectStyle, 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 UIKit types →