Contents

init(projectType:title:description:image:subtypeDescriptions:)

A designated initializer for project type descriptions with the full subtype hierarchy specified up front and a standard string for description text.

Declaration

init(projectType: PHProjectType, title localizedTitle: String, description localizedDescription: String?, image: NSImage?, subtypeDescriptions: [PHProjectTypeDescription])

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.

  • subtypeDescriptions:

    An array listing descriptions of all valid subtypes.

See Also

Creating a Project Type Description