append(_:to:)
Adds the specified items as child items of the specified parent item in the section snapshot.
Declaration
mutating func append(_ items: [ItemIdentifierType], to parent: ItemIdentifierType? = nil)Parameters
- items:
The identifiers of the items to append to the parent item in the section snapshot.
- parent:
The parent item to append the items to. If you don’t specify a parent, the section snapshot appends the items to its root level.