append(contentsOf:)
Adds the identifiers for multiple entities to the collection.
Declaration
mutating func append(contentsOf entities: [Entity])Discussion
Parameter:
entities: An array of entities. This method adds the identifier for each entity to the collection.
This method adds the identifier for each entity to the collection, but doesn’t keep a reference to the actual entities.