Contents

init(identifier:title:customIndexingKey:getSetter:)

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

Declaration

convenience init<Entity>(identifier: String, title: LocalizedStringResource, customIndexingKey: CSCustomAttributeKey, getSetter: WritableKeyPath<Entity, Value>) where Entity : AppEntity

Parameters

  • identifier:

    The identifier of the property

  • title:

    A word or short phrase summarizing this property.

  • customIndexingKey:

    A custom Spotlight attribute set key for this property.

  • getSetter:

    The getter reference for the property