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

# PHProject

A representation of a Photos app project extension.

```
class PHProject
```

## 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`](/documentation/Photos/PHProject).

## Topics

### Project Extension Properties

[`var hasProjectPreview: Bool`](/documentation/Photos/PHProject/hasProjectPreview)

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

[`var projectExtensionData: Data`](/documentation/Photos/PHProject/projectExtensionData)

Data associated with the project extension.

## Relationships

### Conforms To

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

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

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

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

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

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

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

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

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

### Inherits From

[`PHAssetCollection`](/documentation/Photos/PHAssetCollection)

---

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)