Instance Method

initWithProjectType: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

- (instancetype)initWithProjectType:(PHProjectType)projectType title:(NSString *)localizedTitle attributedDescription:(NSAttributedString *)localizedAttributedDescription image:(NSImage *)image subtypeDescriptions:(NSArray<PHProjectTypeDescription *> *)subtypeDescriptions;

Parameters

projectType

The type of project being described.

title

The localized title of the project type.

attributedDescription

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

- initWithProjectType:title:description:image:

A convenience initializer without subtype descriptions.

- initWithProjectType: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.

- initWithProjectType:title:description:image:canProvideSubtypes:

A designated initializer for project type descriptions with lazily fetched subtypes and a standard description string.

- initWithProjectType:title:attributedDescription:image:canProvideSubtypes:

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