SwiftinitAppIntentsAppIntents.IntentParameter

init

AppIntents.IntentParameter< where A.ValueType == AppIntents.IntentCurrencyAmount>.init<A where A1: AppIntents.ResolverSpecification>(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{}

param{}

  1. 0description:
  2. 1default:
    • argassociatedTypeUnwrappedType
      • basegenericParameterA
  3. 2currencyCodes:
  4. 3inclusiveRange:
    • argtuple(lowerBound: NSDecimal, upperBound: NSDecimal)
  5. 4requestValueDialog:
  6. 5inputConnectionBehavior:
  7. 6resolvers:
    function() -> A1escaping
    • returnsgenericParameterA1

result{}

  • arggenericParameterA