<!--
{
  "availability" : [
    "iOS: 14.0.0 -",
    "iPadOS: 14.0.0 -",
    "macCatalyst: 14.0.0 -",
    "tvOS: 14.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/NSDiffableDataSourceSectionSnapshotReference/appendItems(_:intoParentItem:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSDiffableDataSourceSectionSnapshot(im)appendItems:intoParentItem:"
  },
  "title" : "appendItems(_:intoParentItem:)"
}
-->

# appendItems(_:intoParentItem:)

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

```
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.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)