---
title: editAsset
framework: appintents
role: symbol
role_heading: Instance Property
path: appintents/assistantschemas/photosintent/editasset
---

# editAsset

## Declaration

```swift
var editAsset: some AssistantSchemas.Intent { get }
```

## Overview

Overview To integrate your app’s functionality with Siri and Apple Intelligence, you use Swift macros that generate additional properties and add protocol conformance for your app intent implementation. For general information about app intent domains, see doc:Integrating-actions-with-siri-and-apple-intelligence. The following example shows an app intent that conforms to the photos.editAsset schema: @AppIntent(schema: .photos.editAsset) struct EditAsset {     var asset: <#PhotoEntity#>

func perform() async throws -> some IntentResult {         <#code#>     } }
