<!--
{
  "availability" : [
    "iOS: 2.0.0 -",
    "iPadOS: 2.0.0 -",
    "macCatalyst: 13.0.0 -",
    "macOS: 10.0.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Foundation",
  "identifier" : "/documentation/Foundation/NSValueTransformerName",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Foundation"
    ],
    "preciseIdentifier" : "c:@T@NSValueTransformerName"
  },
  "title" : "NSValueTransformerName"
}
-->

# NSValueTransformerName

Named value transformers defined by `NSValueTransformer`.

```
struct NSValueTransformerName
```

## Topics

### Type Properties

[`NSIsNilTransformerName`](/documentation/Foundation/NSValueTransformerName/isNilTransformerName)

This value transformer returns true if the value is nil.

[`NSIsNotNilTransformerName`](/documentation/Foundation/NSValueTransformerName/isNotNilTransformerName)

This value transformer returns true if the value is non-nil.

[`NSKeyedUnarchiveFromDataTransformerName`](/documentation/Foundation/NSValueTransformerName/keyedUnarchiveFromDataTransformerName)

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

[`NSNegateBooleanTransformerName`](/documentation/Foundation/NSValueTransformerName/negateBooleanTransformerName)

This value transformer negates a boolean value, transforming true to false and false to true.

[`NSUnarchiveFromDataTransformerName`](/documentation/Foundation/NSValueTransformerName/unarchiveFromDataTransformerName)

The name of the value transformer that attempts to unarchive data from an object you provide.

[`NSSecureUnarchiveFromDataTransformerName`](/documentation/Foundation/NSValueTransformerName/secureUnarchiveFromDataTransformerName)

The name of the value transformer that creates then returns an object by attempting to unarchive the data to a class that supports secure coding.

## Relationships

### Conforms To

[`RawRepresentable`](/documentation/Swift/RawRepresentable)

[`Sendable`](/documentation/Swift/Sendable)

[`Equatable`](/documentation/Swift/Equatable)

[`Hashable`](/documentation/Swift/Hashable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

---

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)