<!--
{
  "availability" : [
    "iOS: 8.0.0 -",
    "iPadOS: 8.0.0 -",
    "macCatalyst: 8.0.0 -",
    "macOS: 10.10.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Foundation",
  "identifier" : "/documentation/Foundation/PropertyListDecoder",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "Foundation"
    ],
    "preciseIdentifier" : "s:10Foundation19PropertyListDecoderC"
  },
  "title" : "PropertyListDecoder"
}
-->

# PropertyListDecoder

An object that decodes instances of data types from a property list.

```
class PropertyListDecoder
```

## Topics

### Decoding

[`init()`](/documentation/Foundation/PropertyListDecoder/init())

Creates a new, reusable property list decoder.

[`decode(_:from:)`](/documentation/Foundation/PropertyListDecoder/decode(_:from:))

Returns a value of the specified type by decoding a property list using the default property list format.

### Customizing Decoding

[`decode(_:from:format:)`](/documentation/Foundation/PropertyListDecoder/decode(_:from:format:))

Returns a value of the specified type by decoding a property list using the supplied format.

[`userInfo`](/documentation/Foundation/PropertyListDecoder/userInfo)

A dictionary you use to customize decoding by providing contextual information.



---

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)