Class

PHProjectChangeRequest

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

Declaration

@interface PHProjectChangeRequest : PHChangeRequest

Overview

Make a project change request to alter a project's title or metadata. Respond to project change requests by updating your user interface as assets are added, modified, or removed.

Topics

Creating Change Requests

- initWithProject:

Creates a change request around the specified project.

title

The title of the change request.

projectExtensionData

Compressed project-specific data to use in the change request.

Responding to Change Requests

- setProjectPreviewImage:

Updates the project preview in Photos.

- setKeyAsset:

Sets the key asset representing the project.

Deprecated
- removeAssets:

Removes the specified assets from the project.

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.

PHProject

A representation of a Photos app project extension.

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.

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.