Frameworks & Nibs
Frameworks & Nibs
- Subject: Frameworks & Nibs
- From: Daniel Todd Currie <email@hidden>
- Date: Mon, 15 Mar 2004 03:26:58 -0800
So I've decided the best way to bring a standardized panel to all of my
apps is by creating a framework. This way I won't have to worry about
extra nibs, images, etc, in all of my projects. Any alternative ideas
would be welcome.
The problem I am having is that I have this beautiful nib and I have no
idea how to communicate with the interface elements. If I create an
instance of my panel's controller class in the nib, then I have no way
of accessing that instance from outside the framework.
I've looked at some examples in the Cocoa frameworks, like
NSColorPanel.nib, and all I can tell is that it does not use instances.
But how does one receive IBActions from the NSColorPanel interface
elements if nothing is linked in IB? I'm thoroughly confused.
Thanks in advance,
-- Daniel Todd Currie
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.