---
title: "addChildCollections(_:)"
framework: photos
role: symbol
role_heading: Instance Method
path: "photos/phcollectionlistchangerequest/addchildcollections(_:)"
---

# addChildCollections(_:)

Adds the specified collections as children of the collection list.

## Declaration

```swift
func addChildCollections(_ collections: any NSFastEnumeration)
```

## Parameters

- `collections`: An array of doc://com.apple.photokit/documentation/Photos/PHCollection objects (asset collections or other collection lists) to be added to the collection list.

## Discussion

Discussion If you created the change request with a snapshot of the collection list’s contents using the init(for:childCollections:) method, Photos inserts the new children after the existing child collections in the collection list. Otherwise, the arrangement of the new children relative to others in the collection is undefined.

## See Also

### Managing Collections

- [insertChildCollections(_:at:)](photos/phcollectionlistchangerequest/insertchildcollections(_:at:).md)
- [moveChildCollections(at:to:)](photos/phcollectionlistchangerequest/movechildcollections(at:to:).md)
- [replaceChildCollections(at:withChildCollections:)](photos/phcollectionlistchangerequest/replacechildcollections(at:withchildcollections:).md)
- [removeChildCollections(_:)](photos/phcollectionlistchangerequest/removechildcollections(_:).md)
- [removeChildCollections(at:)](photos/phcollectionlistchangerequest/removechildcollections(at:).md)
