---
title: "result(dialog:view:)"
framework: appintents
role: symbol
role_heading: Type Method
path: "appintents/intentresult/result(dialog:view:)"
---

# result(dialog:view:)

Indicates the AppIntent finished performing

## Declaration

```swift
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
