<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: 27.0.0 -",
    "macOS: 27.0.0 -",
    "tvOS: 27.0.0 -",
    "visionOS: 27.0.0 -",
    "watchOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppIntentsTesting",
  "identifier" : "/documentation/AppIntentsTesting/AppIntentDefinition/makeIntent",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "App Intents Testing"
    ],
    "preciseIdentifier" : "s:17AppIntentsTesting0A16IntentDefinitionV04makeD0AA0D23ValuePropertiesCallableVyAA03AnyaD0VGvp"
  },
  "title" : "makeIntent"
}
-->

# makeIntent

Creates a populated instance of this intent.

```
var makeIntent: IntentValuePropertiesCallable<AnyAppIntent> { get }
```

## Discussion

The following example shows how you can create an intent instance:

```swift
let definitions = IntentDefinitions(bundleIdentifier: "com.example.exampleapp")
let exampleIntentDefinition = definitions.intents["MyExampleIntent"]

let intent = exampleIntentDefinition.makeIntent(
    paramA: "Hello World",
    paramB: 1234
)
```

---

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)