Instance Method

removeChildCollections:

Removes the specified child collections from the collection list.

Declaration

- (void)removeChildCollections:(id<NSFastEnumeration>)collections;

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 removeChildCollectionsAtIndexes: method.

See Also

Modifying Collection Lists

+ changeRequestForCollectionList:

Creates a request for modifying the specified collection list.

+ changeRequestForCollectionList:childCollections:

Creates a request for modifying the specified collection list, with a fetch result for tracking changes.

title

The displayed name of the collection list.

- addChildCollections:

Add the specified collections as children of the collection list.

- insertChildCollections:atIndexes:

Inserts the specified collections into the collection list at the specified indexes.

- removeChildCollectionsAtIndexes:

Removes the child collections at the specified indexes from the collection list.

- replaceChildCollectionsAtIndexes:withChildCollections:

Replaces the child collections at the specified indexes in the collection list with the specified collections.

- moveChildCollectionsAtIndexes:toIndex:

Moves the child collections at the specified indexes in the collection list to a new index.