<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "PhotosUI",
  "identifier" : "/documentation/PhotosUI/PHProjectCategory",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "PhotosUI"
    ],
    "preciseIdentifier" : "c:@T@PHProjectCategory"
  },
  "title" : "PHProjectCategory"
}
-->

# PHProjectCategory

A representation of Photos project extension categories.

```
struct PHProjectCategory
```

## Overview

This structure encapsulates macOS Photos project extension categories. Use this category to designate the types of projects your extension can create, such as books, calendars, cards, and slideshows.

## Topics

### Creating a Project Category

[`init(rawValue: String)`](/documentation/PhotosUI/PHProjectCategory/init(rawValue:))

Intializes a project category from its raw string value.

### Designating Type Properties

[`static let book: PHProjectCategory`](/documentation/PhotosUI/PHProjectCategory/book)

The project category for a printed book.

[`static let calendar: PHProjectCategory`](/documentation/PhotosUI/PHProjectCategory/calendar)

The project category for a printed calendar.

[`static let card: PHProjectCategory`](/documentation/PhotosUI/PHProjectCategory/card)

The project category for a printed card.

[`static let prints: PHProjectCategory`](/documentation/PhotosUI/PHProjectCategory/prints)

The project category for physical prints.

[`static let slideshow: PHProjectCategory`](/documentation/PhotosUI/PHProjectCategory/slideshow)

The project category for a slideshow.

[`static let wallDecor: PHProjectCategory`](/documentation/PhotosUI/PHProjectCategory/wallDecor)

The project category for wall décor.

[`static let other: PHProjectCategory`](/documentation/PhotosUI/PHProjectCategory/other)

The project category for a custom extension type.

[`static let undefined: PHProjectCategory`](/documentation/PhotosUI/PHProjectCategory/undefined)

An undefined project category.

## Relationships

### Conforms To

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

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

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

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

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

---

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)