<!--
{
  "availability" : [
    "iOS: 14.0.0 -",
    "iPadOS: 14.0.0 -",
    "macCatalyst: 14.0.0 -",
    "macOS: 11.0.0 -",
    "tvOS: 14.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 7.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/RedactionReasons",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI16RedactionReasonsV"
  },
  "title" : "RedactionReasons"
}
-->

# RedactionReasons

The reasons to apply a redaction to data displayed on screen.

```
struct RedactionReasons
```

## Topics

### Getting redaction reasons

[`invalidated`](/documentation/SwiftUI/RedactionReasons/invalidated)

Displayed data should appear as invalidated and pending a new update.

[`placeholder`](/documentation/SwiftUI/RedactionReasons/placeholder)

Displayed data should appear as generic placeholders.

[`privacy`](/documentation/SwiftUI/RedactionReasons/privacy)

Displayed data should be obscured to protect private information.

### Creating redaction reasons

[`init(rawValue:)`](/documentation/SwiftUI/RedactionReasons/init(rawValue:))

Creates a new set from a raw value.

[`rawValue`](/documentation/SwiftUI/RedactionReasons/rawValue)

The raw value.



---

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)