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

# PHProjectSectionContent

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

```
class PHProjectSectionContent
```

## Overview

A section content object contains suggested layout information for every element at a specific level of curation within a [`PHProjectSection`](/documentation/PhotosUI/PHProjectSection). A single section can provide multiple content objects, but only one is used at a time, depending on the level of curation and the amount of content detail.

## Topics

### Determining Content Properties

[`var elements: [PHProjectElement]`](/documentation/PhotosUI/PHProjectSectionContent/elements)

An array of asset, text, or journal entry elements contained in the content.

[`var numberOfColumns: Int`](/documentation/PhotosUI/PHProjectSectionContent/numberOfColumns)

The number of columns if section content is displayed in a grid layout.

[`var aspectRatio: Double`](/documentation/PhotosUI/PHProjectSectionContent/aspectRatio)

The aspect ratio of the full content layout, defined as width over height.

[`var cloudAssetIdentifiers: [PHCloudIdentifier]`](/documentation/PhotosUI/PHProjectSectionContent/cloudAssetIdentifiers)

An array containing all cloud asset identifiers referenced in the content.

[`var backgroundColor: NSColor?`](/documentation/PhotosUI/PHProjectSectionContent/backgroundColor)

The background color of the section content when created from an Apple Print Product.

### Initializers

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

## Relationships

### Conforms To

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

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

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

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

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

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

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

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

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

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

### Inherits From

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

---

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)