SwiftinitAppIntentsAppIntents.IntentParameter
init
AppIntents.IntentParameter< where A.ValueType == AppIntents.IntentCurrencyAmount>.init<A where A1: AppIntents.ResolverSpecification>(title: Foundation.LocalizedStringResource, description: Foundation.LocalizedStringResource?, default: A.UnwrappedType?, currencyCodes: _const [String], inclusiveRange: _const (lowerBound: NSDecimal, upperBound: NSDecimal)?, requestValueDialog: AppIntents.IntentDialog?, inputConnectionBehavior: _const AppIntents.InputConnectionBehavior, resolvers: () -> A1) -> AppIntents.IntentParameter<A>
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
generic{}
AA1
req{}
- conformance:genericParameter
A1protocolAppIntents.ResolverSpecification
param{}
- 0title:
- 1description:enumSwift.Optional
- 2default:enumSwift.Optional
- argassociatedType
UnwrappedType- basegenericParameter
A
- 3currencyCodes:structSwift.Array
- 4inclusiveRange:enumSwift.Optional
- 5requestValueDialog:enumSwift.Optional
- 6inputConnectionBehavior:
- 7resolvers:function
() -> A1escaping- returnsgenericParameter
A1
result{}
- arggenericParameter
A