Contents

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

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

Declaration

init(projectType: PHProjectType, title localizedTitle: String, attributedDescription localizedAttributedDescription: NSAttributedString?, image: NSImage?, subtypeDescriptions: [PHProjectTypeDescription])

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.

  • subtypeDescriptions:

    An array listing descriptions of all valid subtypes.

See Also

Creating a Project Type Description