Contents

init(identifier:indexingKey:getSetter:)

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

Declaration

convenience init<Entity>(identifier: String, indexingKey: PartialKeyPath<CSSearchableItemAttributeSet>, getSetter: WritableKeyPath<Entity, Value>) where Entity : AppEntity

Parameters

  • identifier:

    The identifier of the property

  • indexingKey:

    A Spotlight attribute set key mapping for this property.

  • getSetter:

    The getter reference for the property