Apple Developer Connection
Member Login Log In | Not a Member? Contact ADC

< Previous PageNext Page > Hide TOC

The Plug-in Object

The plug-in object is Interface Builder’s initial entry point into your plug-in and is represented by the IBPlugin class. You must provide a subclass of this object in your plug-in and configure it as the primary class of your plug-in bundle. Your plug-in object has one critical responsibility: provide the list of nib files identifying the objects your plug-in represents. Beyond that, you use the plug-in object to provide support for other features of your plug-in. For example, you use the plug-in object to implement a preferences window or customize objects as they are dragged out of the library window.

The following sections describe the tasks you can perform from your custom plug-in object. For additional information about the methods of the IBPlugin class, see IBPlugin Class Reference.

Contents:

Configuring the Library Nib Files
Registering Your Plug-in’s Object Frameworks
Handling Load and Unload Notifications
Implementing Plug-in Preferences
Changing your Plug-in Bundle’s Principal Class




< Previous PageNext Page > Hide TOC


Last updated: 2007-07-18




Did this document help you?
Yes: Tell us what works for you.

It’s good, but: Report typos, inaccuracies, and so forth.

It wasn’t helpful: Tell us what would have helped.
Get information on Apple products.
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Copyright © 2007 Apple Inc.
All rights reserved. | Terms of use | Privacy Notice