---
title: "init(projectType:title:attributedDescription:image:canProvideSubtypes:)"
framework: photosui
role: symbol
role_heading: Initializer
path: "photosui/phprojecttypedescription/init(projecttype:title:attributeddescription:image:canprovidesubtypes:)"
---

# init(projectType:title:attributedDescription:image:canProvideSubtypes:)

A designated initializer for project type descriptions with lazily fetched subtypes and an attributed description string.

## Declaration

```swift
init(projectType: PHProjectType, title localizedTitle: String, attributedDescription localizedAttributedDescription: NSAttributedString?, image: NSImage?, canProvideSubtypes: Bool)
```

## Parameters

- `projectType`: The type of project being described.
- `localizedTitle`: The localized title of the project type.
- `localizedAttributedDescription`: The localized attributed description of the project type.
- `image`: The image associated with the project type in the picker.
- `canProvideSubtypes`: A Boolean variable indicating whether subtypes can be fetched from the data source.

## See Also

### Creating a Project Type Description

- [init(projectType:title:description:image:)](photosui/phprojecttypedescription/init(projecttype:title:description:image:).md)
- [init(projectType:title:description:image:subtypeDescriptions:)](photosui/phprojecttypedescription/init(projecttype:title:description:image:subtypedescriptions:).md)
- [init(projectType:title:attributedDescription:image:subtypeDescriptions:)](photosui/phprojecttypedescription/init(projecttype:title:attributeddescription:image:subtypedescriptions:).md)
- [init(projectType:title:description:image:canProvideSubtypes:)](photosui/phprojecttypedescription/init(projecttype:title:description:image:canprovidesubtypes:).md)
