Contents

PHProjectSection

A collection of content representing curated asset and text elements.

Declaration

class PHProjectSection

Overview

Each project section contains at least one PHProjectSectionContent object, which represents a suggested curation of the content. The number of sections included in PHProjectInfo varies depending on the source used to initialize the project:

  • A Memory. There will be one cover section with a key asset element and title, as well as a section containing multiple levels of curation, mirroring the Show Summary and Show More options of the Memory in Photos.

  • A single Album. The number of sections depends on the Album size. A small Album yields a single section, but an Album with a large quantity of photos is broken down into sections based on Moments in the user’s Photo Library.

  • An existing Apple Book, Card, or Calendar. The sections will match the pagination in that project; for example, a book will break down into one section per page.

Topics

Determining Section Contents

Defining the Section Type

Initializers

See Also

macOS Photos Project Extensions