<!--
{
  "availability" : [
    "iOS: 6.0.0 -",
    "iPadOS: 6.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.9.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AVFoundation",
  "identifier" : "/documentation/AVFoundation/AVTextStyleRule/propertyList(for:)",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "AVFoundation"
    ],
    "preciseIdentifier" : "c:objc(cs)AVTextStyleRule(cm)propertyListForTextStyleRules:"
  },
  "title" : "propertyList(for:)"
}
-->

# propertyList(for:)

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

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

## Parameters

`textStyleRules`

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

## Return Value

A property-list object that you can pass to the <doc://com.apple.documentation/documentation/Foundation/PropertyListSerialization> serialization routines.

## Discussion

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

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)