---
title: "typeDescription(for:)"
framework: photosui
role: symbol
role_heading: Instance Method
path: "photosui/phprojecttypedescriptiondatasource/typedescription(for:)"
---

# typeDescription(for:)

Provides the updated project type description for previously invalidated project types.

## Declaration

```swift
func typeDescription(for projectType: PHProjectType) -> PHProjectTypeDescription?
```

## Parameters

- `projectType`: The previously invalidated project type whose type description is being requested.

## Return Value

Return Value The PHProjectTypeDescription for the given project type.  The returned description’s project type must match the given project type.

## See Also

### Providing Required Fields

- [subtypes(for:)](photosui/phprojecttypedescriptiondatasource/subtypes(for:).md)
- [footerText(forSubtypesOf:)](photosui/phprojecttypedescriptiondatasource/footertext(forsubtypesof:).md)
