---
title: PHProjectElement
framework: photosui
role: symbol
role_heading: Class
path: photosui/phprojectelement
---

# PHProjectElement

The superclass for all element objects.

## Declaration

```swift
class PHProjectElement
```

## Overview

Overview You should never use this class directly; opt instead for one of its subclasses. It defines the shared properties of any element in an instance of PHProjectSectionContent.

## Topics

### Subclassing Project Elements

- [PHProjectAssetElement](photosui/phprojectassetelement.md)
- [PHProjectTextElement](photosui/phprojecttextelement.md)
- [PHProjectJournalEntryElement](photosui/phprojectjournalentryelement.md)
- [PHProjectMapElement](photosui/phprojectmapelement.md)

### Describing Project Elements

- [weight](photosui/phprojectelement/weight.md)
- [placement](photosui/phprojectelement/placement.md)

### Initializers

- [init(coder:)](photosui/phprojectelement/init(coder:).md)

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Inherited By

- [PHProjectAssetElement](photosui/phprojectassetelement.md)
- [PHProjectJournalEntryElement](photosui/phprojectjournalentryelement.md)
- [PHProjectMapElement](photosui/phprojectmapelement.md)
- [PHProjectTextElement](photosui/phprojecttextelement.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSCoding](foundation/nscoding.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [NSSecureCoding](foundation/nssecurecoding.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)
- [PHProjectSection](photosui/phprojectsection.md)
- [PHProjectRegionOfInterest](photosui/phprojectregionofinterest.md)
- [PHProjectChangeRequest](photos/phprojectchangerequest.md)
- [PHProjectExtensionController](photosui/phprojectextensioncontroller.md)
- [PHProjectCategory](photosui/phprojectcategory.md)
