Platforms to show: All Mac Windows Linux Cross-Platform
Back to PHFetchResultChangeDetailsMBS class.
PHFetchResultChangeDetailsMBS.changedIndexes as NSIndexSetMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Photos | MBS Mac64bit Plugin | 20.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
Use this index set to update elements in a collection view or similar user interface that displays the contents of the fetch result. These indexes are relative to the original fetch result (the fetchResultBeforeChanges property) after you’ve applied the changes described by the removedIndexes and insertedIndexes properties; when updating your app’s interface, apply changes after removals and insertions and before moves.
If the hasIncrementalChanges property’s value is false, this property’s value is nil.
(Read only property)
PHFetchResultChangeDetailsMBS.fetchResultAfterChanges as PHFetchResultMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Photos | MBS Mac64bit Plugin | 20.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
You can use this object to inspect the current state of the fetched objects even if the hasIncrementalChanges property’s value is false. Using this fetch result is equivalent to performing once more the same fetch that returned the original fetch result.
(Read only property)
PHFetchResultChangeDetailsMBS.fetchResultBeforeChanges as PHFetchResultMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Photos | MBS Mac64bit Plugin | 20.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
This property’s value is the same object you passed to the changeDetailsForFetchResult method to request change details.
(Read only property)
PHFetchResultChangeDetailsMBS.Handle as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Photos | MBS Mac64bit Plugin | 20.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
(Read and Write property)
PHFetchResultChangeDetailsMBS.hasIncrementalChanges as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Photos | MBS Mac64bit Plugin | 20.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
If this value is true, use the insertedIndexes, removedIndexes, and changedIndexes properties (or the insertedObjects, removedObjects, and changedObjects properties) to find out which objects in the fetch result have been added, removed, or updated. You can also use the hasMoves property and enumerateMoves method to find out which objects in the fetch result have been rearranged. These properties can be useful for updating a collection view or similar interface that displays the fetch result’s contents.
If this value is false, the fetch result is too different from its original state for incremental change information to be meaningful. Use the fetchResultAfterChanges property to get the fetch result’s current membership. (If displaying the fetch result’s contents, reload your user interface to match the new fetch result.)
(Read only property)
PHFetchResultChangeDetailsMBS.hasMoves as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Photos | MBS Mac64bit Plugin | 20.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
If this value is true, use the enumerateMoves method to find out which elements have been moved and what their new indexes are.
(Read only property)
PHFetchResultChangeDetailsMBS.insertedIndexes as NSIndexSetMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Photos | MBS Mac64bit Plugin | 20.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
Use this index set can to insert elements in a collection view or similar user interface that displays the contents of the fetch result. These indexes are relative to the original fetch result (the fetchResultBeforeChanges property) after you’ve applied the changes described by the removedIndexes property; when updating your app’s interface, apply insertions after removals and before changes and moves.
If the hasIncrementalChanges property’s value is false, this property’s value is nil.
(Read only property)
PHFetchResultChangeDetailsMBS.removedIndexes as NSIndexSetMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Photos | MBS Mac64bit Plugin | 20.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
Use this index set to remove elements from a collection view or similar user interface that displays the contents of the fetch result. These indexes are relative to the original fetch result (the fetchResultBeforeChanges property); when updating your app’s interface, apply removals before insertions, changes, and moves.
If the hasIncrementalChanges property’s value is false, this property’s value is nil.
(Read only property)
The items on this page are in the following plugins: MBS Mac64bit Plugin.