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

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

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

```
convenience init(description: LocalizedStringResource? = nil, default defaultValue: Value.UnwrappedType? = nil, supportedContentTypes: [UTType]? = nil, size: [IntentWidgetFamily : IntentCollectionSize], inputConnectionBehavior: InputConnectionBehavior = .default)
```

## Parameters

`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 for a widget family. Use this to limit the amount of values.

`inputConnectionBehavior`

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

---

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)