textStyleRules(fromPropertyList:)
Creates an array of text style rule objects from the specified property-list object.
Declaration
class func textStyleRules(fromPropertyList plist: Any) -> [AVTextStyleRule]?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 propertyList(for:) class method.