On May 8, 2008, at 5:18 PM, David Dumaresq wrote: In the Address Book Programming Guide, under Using the People Picker, it describes adding the Address Book Palette to the Interface Builder:
"The palette is not included in the standard list of Interface Builder palettes. To add it, click the Palettes tab in Xcode’s Preferences, click the Add button, and select ABPalette.palette , located at /Developer/Extras/Palettes/ABPalette.palette"
For the life of me, I cannot locate the Palettes tab under Xcode Preferences.
This documentation appears to be incorrect in two separate ways.
(1) If it was written for Interface Builder 2.5 or earlier, it should have been instructing you to use the Palettes tab in Interface Builder's preferences, not Xcode's.
(2) If should have been revised for Interface Builder 3.0 — which uses a new plug-in API, rather than the palettes API used by Interface Builder 2.5 and earlier.
Please file bugs if you can.
The Address Book plug-in for Interface Builder is in AddressBook.framework itself. If you're using AddressBook.framework in a project, and you open a nib/xib file from that project in Interface Builder, it should pull in the plug-in automatically:
Another aspect of the Xcode integration is that if you include a framework in your project and that framework contains an Interface Builder plug-in, Interface Builder automatically loads the plug-in when you open one of your project’s nib files. The assumption is that if your Xcode project uses the framework, your nib file may use the objects from that framework. If you have a plug-in that is not bundled with a framework, you must load that plug-in manually in the Interface Builder preferences window; see “Interface Builder Preferences.”
-- Chris
|