<!--
{
  "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/result(dialog:view:)",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "App Intents",
      "SwiftUI",
      "AppIntents"
    ],
    "preciseIdentifier" : "s:10AppIntents12IntentResultP01_aB8_SwiftUIE6result6dialog4viewAA0cD9ContainerVys5NeverOAkA012_SnippetViewJ0VAA0C6DialogVGAO_qd__tAPRsz0eF00M0Rd__lFZ"
  },
  "title" : "result(dialog:view:)"
}
-->

# result(dialog:view:)

Indicates the `AppIntent` finished performing

```
static func result<Content>(dialog: IntentDialog, view: Content = EmptyView()) -> Self where Self == IntentResultContainer<Never, Never, _SnippetViewContainer, IntentDialog>, Content : View
```

## Parameters

`dialog`

A custom success dialog

`view`

A custom View to display the result

---

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)