<!--
{
  "availability" : [
    "iOS: 18.0.0 -",
    "iPadOS: 18.0.0 -",
    "macCatalyst: -",
    "macOS: 15.0.0 -",
    "tvOS: 18.0.0 -",
    "visionOS: 2.0.0 -",
    "watchOS: 11.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppIntents",
  "identifier" : "/documentation/AppIntents/IntentParameter/init(title:description:default:supportedContentTypes:size:inputConnectionBehavior:resolvers:)-26ujo",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "App Intents",
      "AppIntents"
    ],
    "preciseIdentifier" : "s:10AppIntents15IntentParameterCAASl13UnwrappedTypeRpzAA10FileEntity05ValueF0RpzrlE5title11description7default21supportedContentTypes4size23inputConnectionBehavior9resolversACyxG10Foundation23LocalizedStringResourceV_ASSgAESgSay07UniformF11Identifiers6UTTypeVGSgAA0C14CollectionSizeVAA05InputrS0OYtqd__yctcAA21ResolverSpecificationRd__lufc"
  },
  "title" : "init(title:description:default:supportedContentTypes:size:inputConnectionBehavior:resolvers:)"
}
-->

# init(title:description:default:supportedContentTypes:size:inputConnectionBehavior:resolvers:)

Creates an app intent parameter for an array with a specified size.

```
convenience init<Spec>(title: LocalizedStringResource, description: LocalizedStringResource? = nil, default defaultValue: Value.UnwrappedType? = nil, supportedContentTypes: [UTType]? = nil, size: IntentCollectionSize, inputConnectionBehavior: InputConnectionBehavior = .default, @ResolverSpecificationBuilder<Value.UnwrappedType> resolvers: @escaping () -> Spec) where Spec : ResolverSpecification
```

## Parameters

`title`

A word or short phrase summarizing this parameter.

`description`

Additional details about this parameter.

`defaultValue`

The default value for this parameter. People can specify a different value.

`supportedContentTypes`

A list of selectable type identifiers for this parameter.

`size`

The size of the array you specify to limit the amount of values.

`inputConnectionBehavior`

An enum that indicates how this parameter receives the output from a preceding app intent.

`resolvers`

An object that converts a value of another type to this parameter’s type.

---

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)