Class

PHProject

A representation of a Photos app project extension.

Declaration

@interface PHProject : PHAssetCollection

Overview

This class represents the project when extended from macOS Photos. Projects can have the following types:

  • Book

  • Calendar

  • Card

  • Prints

  • Slideshow

  • Wall decor

Users create projects by selecting one or more assets, right-clicking the selection, and grouping the assets, much like an album collection. Your app treats the project as a separate entity, represented as a PHProject.

Topics

Project Extension Properties

hasProjectPreview

A property that indicates whether a project preview was previously set.

projectExtensionData

Data associated with the project extension.

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.

PHProjectInfo

Information about the project extension.

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.

PHProjectElement

The superclass for all element objects.

PHProjectSection

A collection of content representing curated asset and text elements.

PHProjectRegionOfInterest

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

PHProjectChangeRequest

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

PHProjectExtensionController

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

PHCloudIdentifier

A cloud identifier for a Photos project extension.

PHProjectCategory

A representation of Photos project extension categories.