Type Method

textStyleRulesFromPropertyList:

Creates an array of text style rule objects from the specified property-list object.

Declaration

+ (NSArray<AVTextStyleRule *> *)textStyleRulesFromPropertyList:(id)plist;

Parameters

plist

A property-list object containing the text style data.

Return Value

An array of AVTextStyleRule objects corresponding to the style information in the property-list object.

Discussion

Use this method to create new text style rule objects based on data you previously converted to a property-list format using the propertyListForTextStyleRules: class method.

See Also

Creating and Initializing Style Rules

+ textStyleRuleWithTextMarkupAttributes:

Creates a new text style rule object using the style attributes in the specified dictionary.

+ textStyleRuleWithTextMarkupAttributes:textSelector:

Creates a new text style rule object using the specified style attributes and text range information.

- initWithTextMarkupAttributes:

Creates a text style rule object with the specified style attributes.

- initWithTextMarkupAttributes:textSelector:

Creates a text style rule object with the specified style attributes and text range information.