---
title: "appendItems(_:intoParentItem:)"
framework: uikit
role: symbol
role_heading: Instance Method
path: "uikit/nsdiffabledatasourcesectionsnapshotreference/appenditems(_:intoparentitem:)"
---

# appendItems(_:intoParentItem:)

Adds the specified items as child items of the specified parent item in the section snapshot.

## Declaration

```swift
func appendItems(_ items: [Any], intoParentItem parentItem: Any?)
```

## Parameters

- `items`: The identifiers of the items to append to the parent item in the section snapshot.
- `parentItem`: The parent item to append the items to.

## See Also

### Creating a section snapshot

- [init()](uikit/nsdiffabledatasourcesectionsnapshotreference/init().md)
- [ofParentItem(_:)](uikit/nsdiffabledatasourcesectionsnapshotreference/ofparentitem(_:).md)
- [ofParentItem(_:includingParentItem:)](uikit/nsdiffabledatasourcesectionsnapshotreference/ofparentitem(_:includingparentitem:).md)
- [appendItems(_:)](uikit/nsdiffabledatasourcesectionsnapshotreference/appenditems(_:).md)
