Instance Method インスタンスメソッド

initWithBundle:

Initializes the plug-in.

Declaration 宣言

- (BOOL)initWithBundle:(NSBundle *)theBundle;

Parameters パラメータ

theBundle

The plug-in bundle.

Return Value 戻り値

YES if initialization succeeded; otherwise, NO.

Discussion 解説

In this required method, you can perform PDE initialization tasks when the user displays the Page Setup or Print dialog and the PDE is being loaded. For example, you could retain the PDE bundle for later use.

If you return NO or do not implement this method, the printing system does not load the PDE and send it the PDEPanelsForType:withHostInfo: message.