<!--
{
  "availability" : [
    "iOS: 3.0.0 - 12.0.0",
    "iPadOS: 3.0.0 - 12.0.0",
    "macCatalyst: 13.1.0 - 13.1.0",
    "macOS: 10.3.0 - 10.14.0",
    "tvOS: 9.0.0 - 12.0.0",
    "visionOS: 1.0.0 - 1.0.0",
    "watchOS: 2.0.0 - 5.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "Foundation",
  "identifier" : "/documentation/Foundation/NSValueTransformerName/keyedUnarchiveFromDataTransformerName",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "Foundation"
    ],
    "preciseIdentifier" : "c:@NSKeyedUnarchiveFromDataTransformerName"
  },
  "title" : "keyedUnarchiveFromDataTransformerName"
}
-->

# keyedUnarchiveFromDataTransformerName

The name of the value transformer that attempts to unarchive data stored inside a keyed archive in an object you provide.

```
static let keyedUnarchiveFromDataTransformerName: NSValueTransformerName
```

## Discussion

The transformer this property references returns the [`NSData`](/documentation/Foundation/NSData) instance created by archiving the value using keyed archiving. This transformer requires that an object implement the [`NSCoding`](/documentation/Foundation/NSCoding) protocol using keyed archiving in order to archive and unarchive with this transformer.

---

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)