<!--
{
  "availability" : [
    "iOS: 16.0.0 -",
    "iPadOS: 16.0.0 -",
    "macCatalyst: -",
    "macOS: 13.0.0 -",
    "tvOS: 16.0.0 -",
    "visionOS: -",
    "watchOS: 9.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppIntents",
  "identifier" : "/documentation/AppIntents/IntentResult",
  "metadataVersion" : "0.1.0",
  "role" : "Protocol",
  "symbol" : {
    "kind" : "Protocol",
    "modules" : [
      "App Intents"
    ],
    "preciseIdentifier" : "s:10AppIntents12IntentResultP"
  },
  "title" : "IntentResult"
}
-->

# IntentResult

A type that contains the result of performing an action, and includes optional information to deliver back to the initiator.

```
protocol IntentResult : Sendable
```

## Overview

Instead of implementing this protocol, use the [`ReturnsValue`](/documentation/AppIntents/ReturnsValue), [`OpensAppIntent`](/documentation/AppIntents/IntentResult/OpensAppIntent), [`ProvidesDialog`](/documentation/AppIntents/ProvidesDialog),
and [`ShowsSnippetView`](/documentation/AppIntents/ShowsSnippetView) type aliases on your [`perform()`](/documentation/AppIntents/AppIntent/perform()) implementation in combination
with the [`result()`](/documentation/AppIntents/IntentResult/result()) methods as shown in the following example:

```swift
func perform() async throws -> some ReturnsValue<Int> & OpensAppIntent {
    .result(value: 1, opensIntent: MyOpensIntent())
}
```

## Topics

### Getting the result value

[`value`](/documentation/AppIntents/IntentResult/value-swift.property)

### Communicating the result to the user

[`Dialog`](/documentation/AppIntents/IntentResult/Dialog)



---

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)