I've created a preference panel controller object and xib file which are normal, except for the fact that i've also placed an extra object in the xib file.

the sole purpose of this extra custom controller object ////(sole purpose of it being in this xib, it has a whole other life in it's own xib)/// is so that i can make this custom object the delegate of the PreferencePanelController.... by a single connectiong in IB from the preference panel controller delegate to this extra custom controller object, (which i need to access one of it's methods)

the problem is that this custom controller object has an awakeFromNib method, for it's own window object.

so everytime i call the preference panel, the awakeFromNib in the custom controller object is fired....

hopefully some well heeled cocoa sailer captain here is going to tell me there is a way around this situation (other than "don't do that") where you'd think the engineers have thought about how you would go about connecting up delegates and just plain old methods (like main menu submenu Preference, being connected to a different file (different object in that file) (the preference panel controller object)

hopefully i can create these "extra objects in Xib files" all i want, and be-able to get around this action, because I constantly need to fire off other panels and windows from say the
main menu,  or preference panel....   is there a way??

thanks in advance,
Jon.
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to