One Logo Pool Ball
AVFoundation · IOS API REFERENCE

AVTextStyleRule

class · iOS 6.0+ · SDK 27.1

class AVTextStyleRule

Members (6)

static · iOS 6.0+

propertyList

TypeScript
static propertyList(textStyleRules: Array<AVTextStyleRule>): unknown
Swift declaration
class func propertyList(for textStyleRules: [AVTextStyleRule]) -> Any
static · iOS 6.0+

textStyleRules

TypeScript
static textStyleRules(plist: unknown): (Array<AVTextStyleRule>) | null
Swift declaration
class func textStyleRules(fromPropertyList plist: Any) -> [AVTextStyleRule]?
init · iOS 6.0+

init

TypeScript
static initTextMarkupAttributes(textMarkupAttributes?: Record<string, unknown>): (AVTextStyleRule) | null
Swift declaration
convenience init?(textMarkupAttributes: [String : Any] = [:])
init · iOS 6.0+

init

TypeScript
static initTextMarkupAttributesTextSelector(textMarkupAttributes?: Record<string, unknown>, textSelector?: (string) | null): (AVTextStyleRule) | null
Swift declaration
init?(textMarkupAttributes: [String : Any] = [:], textSelector: String?)
get · iOS 6.0+

textMarkupAttributes

TypeScript
get textMarkupAttributes(): Record<string, unknown>
Swift declaration
var textMarkupAttributes: [String : Any] { get }
get · iOS 6.0+

textSelector

TypeScript
get textSelector(): (string) | null
Swift declaration
var textSelector: String? { get }

Skipped declarations

1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

AVTextStyleRule.init()

inherited init: cannot prove legal (class declares 2 custom initializers)

All AVFoundation types →