Instance Method

beginProjectWithExtensionContext:projectInfo:completion:

Provides an opportunity to customize the initial state when the user creates a project using the extension.

Required.

Declaration

- (void)beginProjectWithExtensionContext:(PHProjectExtensionContext *)extensionContext projectInfo:(PHProjectInfo *)projectInfo completion:(void (^)(NSError *))completion;

Parameters

extensionContext

The extension context with access to the project assets.

projectInfo

Information about the project the extension is called on.

See Also

Tracking the Project Extension Life Cycle

- finishProjectWithCompletionHandler:

Provides an opportunity to perform cleanup when a user switches away from the project or terminates the extension.

Required.

- resumeProjectWithExtensionContext:completion:

Provides an opportunity to restore or refresh the user interface when the user returns to a previously created project.

Required.

- typeDescriptionDataSourceForCategory:invalidator:

Fetches the type description data source to provide the user with more information about the project extension category.