Class

PHCloudIdentifier

A cloud identifier for a Photos project extension.

Declaration

class PHCloudIdentifier : NSObject

Overview

The user can choose to store Photos project extensions in iCloud. The cloud identifier uniquely references project extensions in the cloud by string serialization. When a project's global identifier can't be determined from its local identifier, the notFound identifier is provided in that array slot.

Topics

Using Cloud Identifiers

init(stringValue: String)

Deserializes a cloud identifier from its string value.

var stringValue: String

A string version of the cloud identifier to use in serialization.

class var notFound: PHCloudIdentifier

The global identifier used in an array slot for items that couldn't be found.

Relationships

Inherits From

See Also

macOS Photos Project Extensions

Creating a Slideshow Project Extension for Photos

Augment the macOS Photos app with extensions that support project creation.

class PHProject

A representation of a Photos app project extension.

class PHProjectInfo

Information about the project extension.

class PHProjectExtensionContext

An object that provides Photos project extensions with access to the underlying project, as well as to the user's photo library for editing.

class PHProjectElement

The superclass for all element objects.

class PHProjectSection

A collection of content representing curated asset and text elements.

class PHProjectRegionOfInterest

A representation of a region of interest in a photo asset.

class PHProjectChangeRequest

A request to change asset data in a Photos project extension.

protocol PHProjectExtensionController

A protocol defining the life cycle and supported types of project extensions.

struct PHProjectCategory

A representation of Photos project extension categories.