<!--
{
  "availability" : [
    "iOS: 17.0.0 -",
    "iPadOS: 17.0.0 -",
    "macCatalyst: -",
    "macOS: 14.0.0 -",
    "tvOS: 17.0.0 -",
    "visionOS: -",
    "watchOS: 10.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppIntents",
  "identifier" : "/documentation/AppIntents/IntentDeprecation",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "App Intents"
    ],
    "preciseIdentifier" : "s:10AppIntents17IntentDeprecationV"
  },
  "title" : "IntentDeprecation"
}
-->

# IntentDeprecation

```
struct IntentDeprecation<ReplacementIntent> where ReplacementIntent : AppIntent
```

## Topics

### Initializers

[`init(message: LocalizedStringResource)`](/documentation/AppIntents/IntentDeprecation/init(message:))

[`init(message: LocalizedStringResource, replacedBy: ReplacementIntent.Type?)`](/documentation/AppIntents/IntentDeprecation/init(message:replacedBy:))

[`init(replacedBy: ReplacementIntent.Type)`](/documentation/AppIntents/IntentDeprecation/init(replacedBy:))

### Instance Properties

[`var message: LocalizedStringResource`](/documentation/AppIntents/IntentDeprecation/message)

A short, localized, human-readable string that describes the deprecation of this
intent using sentence case and followed by a period.

[`var replacedBy: ReplacementIntent.Type?`](/documentation/AppIntents/IntentDeprecation/replacedBy)

Optionally, the AppIntent that replaces this one.
Note: This is used by the Shortcuts app to help the user find the new AppIntent to use.

---

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)