---
title: supportsSecureCoding
framework: foundation
role: symbol
role_heading: Type Property
path: foundation/nssecurecoding/supportssecurecoding
---

# supportsSecureCoding

A Boolean value that indicates whether or not the class supports secure coding.

## Declaration

```swift
static var supportsSecureCoding: Bool { get }
```

## Discussion

Discussion When you write a class that supports secure coding, ensure that this class property’s getter returns true.
