---
title: propertyList()
framework: swift
role: symbol
role_heading: Instance Method
path: swift/stringprotocol/propertylist()
---

# propertyList()

Parses the String as a text representation of a property list, returning an NSString, NSData, NSArray, or NSDictionary object, according to the topmost element.

## Declaration

```swift
func propertyList() -> Any
```
