PHCollectionListChangeRequestMBS class

Online Documentation   -   Statistics   -   FAQ   -   Plugin Parts (All, Dependencies)   -   Class hierarchy

New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1

The list of the   topics,   classes,   interfaces,   controls,   modules,   global methods by category,   global methods by name,   screenshots,   licenses   and   examples.

Platforms to show: All Mac Windows Linux Cross-Platform

PHCollectionListChangeRequestMBS class

Super class: PHChangeRequestMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
class Photos MBS Mac64bit Plugin 20.2 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
A request to create, delete, or modify a Photos collection list, for use in a photo library change block.

You use the PHCollectionListChangeRequest class to request changes for PHCollectionList objects. To make changes to collection lists (such as folders containing user-created albums) in the Photos library, create a change request using the appropriate class method for the change you want to perform.


Before creating a change request, use the canPerformEditOperation: method to verify that the collection allows the edit operation you’re requesting. If you attempt to perform an unsupported edit operation, Photos throws an exception.
A change request for creating or modifying a collection list works like a mutable version of the collection list object. Use the change request’s properties and instance methods to request changes to the collection list itself.

After Photos runs the change delegate and calls your completion handler, the collection list’s state reflects the changes you requested in the delegate.

If you create or use a change request object outside a photo library change delegate, Photos raises an Objective-C exception. For details on change delegates, see PHPhotoLibraryMBS.
Subclass of the PHChangeRequestMBS class.

Super class PHChangeRequestMBS

This class has no sub classes.


The items on this page are in the following plugins: MBS Mac64bit Plugin.


PHCloudIdentifierMBS   -   PHCollectionListMBS


💬 Ask a question or report a problem