---
title: PHProjectCategory
framework: photosui
role: symbol
role_heading: Structure
path: photosui/phprojectcategory
---

# PHProjectCategory

A representation of Photos project extension categories.

## Declaration

```swift
struct PHProjectCategory
```

## Overview

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:)](photosui/phprojectcategory/init(rawvalue:).md)

### Designating Type Properties

- [book](photosui/phprojectcategory/book.md)
- [calendar](photosui/phprojectcategory/calendar.md)
- [card](photosui/phprojectcategory/card.md)
- [prints](photosui/phprojectcategory/prints.md)
- [slideshow](photosui/phprojectcategory/slideshow.md)
- [wallDecor](photosui/phprojectcategory/walldecor.md)
- [other](photosui/phprojectcategory/other.md)
- [undefined](photosui/phprojectcategory/undefined.md)

## Relationships

### Conforms To

- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### macOS Photos Project Extensions

- [Creating a Slideshow Project Extension for Photos](photokit/creating-a-slideshow-project-extension-for-photos.md)
- [PHProject](photos/phproject.md)
- [PHProjectInfo](photosui/phprojectinfo.md)
- [PHProjectExtensionContext](photosui/phprojectextensioncontext.md)
- [PHProjectElement](photosui/phprojectelement.md)
- [PHProjectSection](photosui/phprojectsection.md)
- [PHProjectRegionOfInterest](photosui/phprojectregionofinterest.md)
- [PHProjectChangeRequest](photos/phprojectchangerequest.md)
- [PHProjectExtensionController](photosui/phprojectextensioncontroller.md)
