Contents

makeReference(identifier:)

Creates an app entity instance of the given entity type.

Declaration

func makeReference(identifier: String) -> AnyAppEntity

Mentioned in

Discussion

let entityDefinition: AppEntityDefinition!

let entityRef = entityDefinition.reference(identifier: "unique-id-123")
``

- Parameter identifier: The entity instance's unique identifier.