Contents

removeChildCollections(_:)

Removes the specified child collections from the collection list.

Declaration

func removeChildCollections(_ collections: any NSFastEnumeration)

Parameters

  • collections:

    An array of Phcollection objects (asset collections or other collection lists) to be removed from the collection list.

Discussion

This method removes child collections from the collection list based on their identity (determined by the localIdentifier property of each collection). To remove objects at specified indexes, use the removeChildCollections(at:) method.

See Also

Managing Collections