---
title: "propertyList(for:)"
framework: avfoundation
role: symbol
role_heading: Type Method
path: "avfoundation/avtextstylerule/propertylist(for:)"
---

# propertyList(for:)

Converts one or more text style rules into a serializable property list object.

## Declaration

```swift
class func propertyList(for textStyleRules: [AVTextStyleRule]) -> Any
```

## Parameters

- `textStyleRules`: An array of AVTextStyleRule objects to write to the property list.

## Return Value

Return Value A property-list object that you can pass to the PropertyListSerialization serialization routines.

## Discussion

Discussion The property-list object returned by this method can be written to disk and stored persistently.
