---
title: "appendItems(withIdentifiers:intoSectionWithIdentifier:)"
framework: uikit
role: symbol
role_heading: Instance Method
path: "uikit/nsdiffabledatasourcesnapshotreference/appenditems(withidentifiers:intosectionwithidentifier:)"
---

# appendItems(withIdentifiers:intoSectionWithIdentifier:)

Adds the items with the specified identifiers to the specified section of the snapshot.

## Declaration

```swift
func appendItems(withIdentifiers identifiers: [Any], intoSectionWithIdentifier sectionIdentifier: Any)
```

## Parameters

- `identifiers`: An array of identifiers specifying the items to add to the snapshot.
- `sectionIdentifier`: The section to which to add the items.

## See Also

### Creating a snapshot

- [appendSections(withIdentifiers:)](uikit/nsdiffabledatasourcesnapshotreference/appendsections(withidentifiers:).md)
- [appendItems(withIdentifiers:)](uikit/nsdiffabledatasourcesnapshotreference/appenditems(withidentifiers:).md)
