Contents

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

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

Declaration

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