addChildCollections(_:)
Adds the specified collections as children of the collection list.
Declaration
func addChildCollections(_ collections: any NSFastEnumeration)Parameters
- collections:
An array of Phcollection objects (asset collections or other collection lists) to be added to the collection list.
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.