Contents

transientEntities

Retrieve a transient app entity definition using subscript syntax.

Declaration

var transientEntities: IntentDefinitions.DefinitionCollection<TransientAppEntityDefinition> { get }

Discussion

Access individual transient entity definitions using subscript syntax with the entity’s type name as shown in the following example:

let definitions = IntentDefinitions(
    bundleIdentifier: "com.apple.example"
)
let tempOrder = definitions.transientEntities[
    "TempOrderEntity"
]

See Also

Accessing app entities and queries