re: Is it possible to call events in other .m classes?
re: Is it possible to call events in other .m classes?
- Subject: re: Is it possible to call events in other .m classes?
- From: George Warner <email@hidden>
- Date: Tue, 27 Jan 2009 10:22:55 -0800
- Thread-topic: Is it possible to call events in other .m classes?
On Tue, 27 Jan 2009 16:22:17 +0100, Arnaud Nicolet <email@hidden> wrote:
> My configuration is somehow special: I have a Main_TestPref class and
> a ApplicationController class. The Main_TestPref class receives system
> events, like "mainViewDidLoad" when the interface is shown. The
> ApplicationController is the class whose outlets and actions are
> linked to (I couldn't link to the Main_TestPref class because
> Interface Builder don't know it exists).
So tell IB that it exists. Assuming that it's a subclass of NSObject then
create a NSObject in IB and set its class to Main_TestPref. Now you can
connect actions and outlets between it and any other IB object.
--
Enjoy,
George Warner,
Schizophrenic Optimization Scientist
Apple Developer Technical Support (DTS)
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden