<!--
{
  "availability" : [
    "macOS: 10.13.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "PhotoKit",
  "identifier" : "/documentation/PhotosUI/PHProjectSection",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "PhotosUI"
    ],
    "preciseIdentifier" : "c:objc(cs)PHProjectSection"
  },
  "title" : "PHProjectSection"
}
-->

# PHProjectSection

A collection of content representing curated asset and text elements.

```
class PHProjectSection
```

## Overview

Each project section contains at least one [`PHProjectSectionContent`](/documentation/PhotosUI/PHProjectSectionContent) object, which represents a suggested curation of the content. The number of sections included in [`PHProjectInfo`](/documentation/PhotosUI/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

[`var title: String`](/documentation/PhotosUI/PHProjectSection/title)

The optional section title.

[`var sectionContents: [PHProjectSectionContent]`](/documentation/PhotosUI/PHProjectSection/sectionContents)

An array containing PHProjectionSessionContent objects.

[`class PHProjectSectionContent`](/documentation/PhotosUI/PHProjectSectionContent)

An object containing section elements and layout information for a single level of curation.

### Defining the Section Type

[`var sectionType: PHProjectSection.SectionType`](/documentation/PhotosUI/PHProjectSection/sectionType-swift.property)

The intended usage of the section: cover, content, or auxiliary.

[`enum SectionType`](/documentation/PhotosUI/PHProjectSection/SectionType-swift.enum)

The intended usage of the section: cover, content, or auxiliary.

### Initializers

[`init?(coder: NSCoder)`](/documentation/PhotosUI/PHProjectSection/init(coder:))

## Relationships

### Inherits From

[`NSObject-swift.class`](/documentation/ObjectiveC/NSObject-swift.class)

### Conforms To

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`NSSecureCoding`](/documentation/Foundation/NSSecureCoding)

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

[`CVarArg`](/documentation/Swift/CVarArg)

[`Equatable`](/documentation/Swift/Equatable)

[`Sendable`](/documentation/Swift/Sendable)

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

[`Hashable`](/documentation/Swift/Hashable)

[`CustomDebugStringConvertible`](/documentation/Swift/CustomDebugStringConvertible)

[`NSCoding`](/documentation/Foundation/NSCoding)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)