Instance Property

collectionListType

The type of asset collection group that the collection list represents.

Declaration

var collectionListType: PHCollectionListType { get }

Discussion

A collection list may represent an upper level of the Moments hierarchy shown in the Photos app, a folder that contains albums, or a smart folder synced from iPhoto. See PHCollectionListType.

See Also

Reading Collection List Metadata

enum PHCollectionListType

Major distinctions between kinds of collection list, used by the collectionListType property and fetchCollectionLists(with:subtype:options:) method.

var collectionListSubtype: PHCollectionListSubtype

The type of asset collection grouping the collection list represents.

var startDate: Date?

The earliest creation date among all assets in the collection list.

var endDate: Date?

The latest creation date among all assets in the collection list.

var localizedLocationNames: [String]

The names of locations grouped by the collection (an array of NSString objects).

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software