Contents

init(identifier:getter:)

Creates an app intent entity property. Do not call this directly, use @ComputedProperty or @DeferredProperty

Declaration

convenience init<Entity>(identifier: String, getter: KeyPath<Entity, Value>) where Entity : AppEntity

Parameters

  • identifier:

    The identifier of the property

  • getter:

    The getter reference for the property