Contents

append(_:)

Adds the identifier for the specified entity to the collection.

Declaration

mutating func append(_ entity: Entity)

Discussion

  • Parameter:

    • entity: The entity containing the identifier to add.

This method adds the entity’s identifier to the collection, but doesn’t keep a reference to the entity itself.