init(projectType:title:description:image:canProvideSubtypes:)
A designated initializer for project type descriptions with lazily fetched subtypes and a standard description string.
Declaration
init(projectType: PHProjectType, title localizedTitle: String, description localizedDescription: String?, image: NSImage?, canProvideSubtypes: Bool)Parameters
- projectType:
The type of project being described.
- localizedTitle:
The localized title of the project type.
- localizedDescription:
The localized 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.