This value transformer returns an object created by attempting to unarchive the data in the
NSData object passed as the value. The archived object must be created using keyed archiving in order to be unarchived and archived with this transformer.
- iOS 3.0–12.0Deprecated
- macOS 10.3–10.14Deprecated
- Mac Catalyst 13.0–13.0Deprecated
- tvOS 9.0–12.0Deprecated
- watchOS 2.0–5.0Deprecated
The reverse transformation returns an
NSData instance created by archiving the value using keyed archiving. The archived object must implement the
NSCoding protocol using keyed archiving in order to be unarchived and archived with this transformer.