IBOutlet SEL?
IBOutlet SEL?
- Subject: IBOutlet SEL?
- From: Sammi Williams <email@hidden>
- Date: Sun, 10 Jul 2005 04:13:04 +1200
Hello.
I'd like to have a custom object instantiated in my NIB that has a
number of 'targetable' attributes - ie
@interface Blah : NSObject {
IBOutlet SEL method;
IBOutlet id target;
IBOutlet id arg;
}
@end
This is so that I can have a generic reusable class which can fire
off multiple events for a single button click, for example. The only
possible way I can think of achieving this is having a hidden window
with a 'NSTextField' with the name of the selector and pulling that
out whenever I want to execute the selector on the target.
But, this seems bad. What other solutions exist? It seems that there
are many problems with IB when you want to create even a mildly
complex user interface. Things like having multiple [sequentially
activated] targets seems like a given.
I found this but it seems ancient: http://www.misckit.com/
Documentation/Classes/MiscTee.htmld/index.html
Thanks for your time,
Sammi
_______________________________________________
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