Platforms to show: All Mac Windows Linux Cross-Platform
Back to PHCollectionMBS class.
PHCollectionMBS.available as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Photos | MBS Mac64bit Plugin | 20.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
Should return true on MacOS 10.13 or newer.
PHCollectionMBS.fetchCollectionsInCollectionList(collectionList as PHCollectionListMBS, options as PHFetchOptionsMBS = nil) as PHFetchResultMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Photos | MBS Mac64bit Plugin | 20.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
collectionList: The collection list from which to fetch collections.
options: Options that specify a filter predicate and sort order for the fetched collections, or nil to use default options. For details, see PHFetchOptionsMBS.
Returns a fetch result that contains the requested PHCollectionMBS objects, or an empty fetch result if no objects match the request.
By default, the returned PHFetchResultMBS object contains all collections in the specified collection list. To retrieve a more specific set of assets, provide a PHFetchOptionsMBS object that contains a filter predicate.
Some examples using this method:
PHCollectionMBS.fetchTopLevelUserCollections(options as PHFetchOptionsMBS = nil) as PHFetchResultMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Photos | MBS Mac64bit Plugin | 20.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
options: Options that specify a filter predicate and sort order for the fetched collections, or nil to use default options. For details, see PHFetchOptionsMBS.
Returns a fetch result that contains the requested PHCollection objects, or an empty fetch result if no objects match the request.
Some examples using this method:
The items on this page are in the following plugins: MBS Mac64bit Plugin.