Enumeration

PHCollectionListSubtype

Major distinctions between kinds of collection list, used by the collectionListSubtype property and fetchCollectionLists(with:subtype:options:), fetchMomentLists(with:containingMoment:options:), and fetchMomentLists(with:options:) methods.

Declaration

enum PHCollectionListSubtype : Int

Topics

Constants

case momentListCluster

The collection list is a moment cluster, grouping several related moments.

Deprecated
case momentListYear

The collection list is a moment year, grouping all moments from one or more calendar years.

Deprecated
case regularFolder

The collection list is a folder containing albums or other folders.

case smartFolderEvents

The collection list is a smart folder containing one or more Events synced from iPhoto.

case smartFolderFaces

The collection list is a smart folder containing one or more Faces synced from iPhoto.

case any

Use this value to fetch collection lists of all possible subtypes.

See Also

Reading Collection List Metadata

var collectionListType: PHCollectionListType

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

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).