Platforms to show: All Mac Windows Linux Cross-Platform

Back to PHFetchResultChangeDetailsMBS class.

PHFetchResultChangeDetailsMBS.changedObjects() as PHObjectMBS()

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Photos MBS Mac64bit Plugin 20.2 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
The objects in the fetch result whose content or metadata have been updated.

An array of PHAssetMBS, PHAssetCollectionMBS, or PHCollectionListMBS objects.
If the hasIncrementalChanges property’s value is false, this property’s value is nil.

PHFetchResultChangeDetailsMBS.Constructor

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Photos MBS Mac64bit Plugin 20.2 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
The constructor.

PHFetchResultChangeDetailsMBS.enumerateMoves(theDelegate as enumerateMovesHandlerMBS, Tag as Variant = nil)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Photos MBS Mac64bit Plugin 20.2 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Runs the specified block for each case where an object has moved from one index to another in the fetch result.

The toIndex parameter in the handler block is relative to the state of the fetch result after you’ve applied the changes described by the removedIndexes, insertedIndexes and changedIndexes properties. Therefore, if you use this method to update a collection view or similar user interface displaying the contents of the fetch result, update your UI to reflect insertions, removals, and changes before you process moves.

PHFetchResultChangeDetailsMBS.insertedObjects() as PHObjectMBS()

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Photos MBS Mac64bit Plugin 20.2 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
The new items that have been inserted in the fetch result.

This array can contain PHAssetMBS, PHAssetCollectionMBS or PHCollectionListMBS objects, or some combination thereof.
If the hasIncrementalChanges property’s value is false, this property’s value is nil.

PHFetchResultChangeDetailsMBS.removedObjects() as PHObjectMBS()

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Photos MBS Mac64bit Plugin 20.2 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
The items that have been removed from the fetch result.

This array can contain PHAssetMBS, PHAssetCollectionMBS, or PHCollectionListMBS objects, or some combination thereof.
If the hasIncrementalChanges property’s value is false, this property’s value is nil.

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


The biggest plugin in space...