propertyList(for:)
Converts one or more text style rules into a serializable property list object.
Declaration
class func propertyList(for textStyleRules: [AVTextStyleRule]) -> AnyParameters
- textStyleRules:
An array of
AVTextStyleRuleobjects to write to the property list.
Return Value
A property-list object that you can pass to the PropertyListSerialization serialization routines.
Discussion
The property-list object returned by this method can be written to disk and stored persistently.