Mental block targeting GUI items programatically
Mental block targeting GUI items programatically
- Subject: Mental block targeting GUI items programatically
- From: Ken Tozier <email@hidden>
- Date: Mon, 18 Apr 2005 02:34:29 -0400
Hi all,
I'm sure this is a simple one, but I'm having a bit of trouble
wrapping my head around how exactly to programatically send messages
to a custom view in a window.
I wrote a custom view class, imported it into InterfaceBuilder and
selected it in the "Custom class" popup and got stuck. The class has
an "addSubviews:(NSArray *) inArray" method which will only be
updated by a daemon. Since it lives in the nib file, and is loaded
without any action by me, how do I get a reference so messages can be
sent to it? Do I need an IBOutlet somewhere? A delegate? An awake
from nib? Would a Binding be the best route?
The App controller will launch the daemon and the daemon will be the
data source for the custom view.
Thanks
Ken
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden