<!--
{
  "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(description:default:kind:requestValueDialog:inputConnectionBehavior:optionsProvider:resolvers:)-2ygkf",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "App Intents",
      "AppIntents"
    ],
    "preciseIdentifier" : "s:10AppIntents15IntentParameterCAA10Foundation4DateV9ValueTypeRtzrlE11description7default4kind07requestG6Dialog23inputConnectionBehavior15optionsProvider9resolversACyxGAD23LocalizedStringResourceVSg_09UnwrappedH0QzSgAC0F4KindOyx_GYtAA0cM0VSgAA05InputoP0OYtqd_0_qd__yctcAA21ResolverSpecificationRd__AA014DynamicOptionsR0Rd_0_AF07DefaultG0_AGRTd_0_r0_lufc"
  },
  "title" : "init(description:default:kind:requestValueDialog:inputConnectionBehavior:optionsProvider:resolvers:)"
}
-->

# init(description:default:kind:requestValueDialog:inputConnectionBehavior:optionsProvider:resolvers:)

Creates an app intent parameter with a list of selectable options that can convert the selected value.

```
convenience init<Spec, OptionsProvider>(description: LocalizedStringResource? = nil, default defaultValue: Value.UnwrappedType? = nil, kind: IntentParameter<Value>.DateKind = .dateTime, requestValueDialog: IntentDialog? = nil, inputConnectionBehavior: InputConnectionBehavior = .default, optionsProvider: OptionsProvider, @ResolverSpecificationBuilder<Value.UnwrappedType> resolvers: @escaping () -> Spec) where Spec : ResolverSpecification, OptionsProvider : DynamicOptionsProvider, OptionsProvider.DefaultValue.ValueType == Date
```

## Parameters

`description`

Additional details about this parameter.

`defaultValue`

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

`kind`

A value that indicates whether this parameter includes date or time.

`requestValueDialog`

A prompt that asks a person to provide the parameter value.

`inputConnectionBehavior`

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

`optionsProvider`

An object that determines selectable options for this parameter.

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