# IBPlugin class documentation

### Authors

Generated by heron

# Software documentation for the IBPlugin class

## IBPlugin : NSObject

> Declared in:
>   InterfaceBuilder/IBPlugin.h

Description forthcoming.
Method summary

- +sharedInstance
- -didLoad
- -document:didAddDraggedObjects:fromDraggedLibraryView:
- -label
- -libraryNibNames
- -pasteboardObjectsForDraggedLibraryView:
- -preferencesView
- -requiredFrameworks
- -willUnload

### sharedInstance

+ (id) sharedInstance;
Returns the shared instance of the plugin.

### didLoad

- (void) didLoad;
Notifies the receiver that the plugin will be loaded.

### document: didAddDraggedObjects: fromDraggedLibraryView:

- (void) document: (id<IBDocuments>)document didAddDraggedObjects: (NSArray*)roots fromDraggedLibraryView: (NSView*)view;
Notifies the receiver that objects were added to the document.

### label

- (NSString*) label;
Returns the name of the plugin to be displayed.

### libraryNibNames

- (NSArray*) libraryNibNames;
Return the array of custom nib filenames. You are required to override this method when creating a plugin.

### pasteboardObjectsForDraggedLibraryView:

- (NSArray*) pasteboardObjectsForDraggedLibraryView: (NSView*)view;
Notifies the receiver that one of it's components will be added to the document.

### preferencesView

- (NSView*) preferencesView;
The preferences panel/view that should be added to the preferences drop down and preferences window.

### requiredFrameworks

- (NSArray*) requiredFrameworks;
Returns the list of frameworks needed to support the plugin.

### willUnload

- (void) willUnload;
Notifies the receiver that the plugin will be unloaded.