Configuration dialog for contact list sort controllers

Jon Chambers jon.chambers at gmail.com
Fri Jun 5 22:48:44 UTC 2009


Hello!

I'm trying to add a configuration dialog for the SortByLogSizePlugin
(http://www.adiumxtras.com/index.php?a=xtras&xtra_id=6059), but I'm
having a hard figuring out (from my perspective) a silent failure.

In the plugin project, I've created a .xib containing a custom view
with the configuration controls.  I've set the "File's Owner" to the
sort controller, following the model of
StatusSortConfiguration.nib/ESStatusSort.  I've also set the
configureNibName method of the sort controller to return the name of
the .xib I created.  I've confirmed that the .xib gets compiled as a
.nib and included in the plugin bundle during build, but when I choose
the "configure log size sort" menu item from the View menu, nothing
happens -- no dialog appears, and nothing appears in the debug window.

I've noticed in Interface Builder that several of the objects in my
.xib aren't aware of some of the actions listed in their counterparts
in StatusSortConfiguration.nib; this suggests to me that I'm making
some kind of error in inheritance patterns, but I can't seem to track
it down.  For example, the "File's Owner" in the
StatusSortConfiguration NIB receives the following actions:
adiumPrint, changePreference, didAdjustSubviews, prefsWindowWillClose,
toggleFindPanel, and willAdjustSubviews.  "File's Owner" in my XIB
isn't aware of any of those.

Any suggestions?

Thanks very much!

-Jon




More information about the devel mailing list