PHObject
The abstract superclass for Photos model objects (assets and collections).
Declaration
class PHObjectOverview
You do not create or use instances of this class directly. Instead, work with instances of its concrete subclasses—PHAsset, PHAssetCollection, PHCollectionList, and PHObjectPlaceholder.
Because the PHObject class implements the isEqual(_:) and hash methods in terms of its localIdentifier property, you can use techniques that depend on these methods to keep track of asset and collection objects.