Re: Call a void on a controller from main.m
Re: Call a void on a controller from main.m
- Subject: Re: Call a void on a controller from main.m
- From: Sherm Pendley <email@hidden>
- Date: Wed, 15 Jun 2005 17:09:14 -0400
On Jun 15, 2005, at 4:38 PM, Jerry Brace wrote:
Can anyone tell me how to call a method/function that exists on a
controller from the main.m?
Umm... you don't. In main.m, no controllers have been created yet, no
nibs have been loaded, etc.
ex: I'm on main.m and I want to call "doSomething" on the
MainController.m
I think you might have an A/B problem here. You want to do A, and
you've decided that B is the way to do it. So, you're asking how to
do B, when what you *really* need is a better way to do A.
With that in mind, what exactly is it you're trying to accomplish by
messaging a controller from main.m?
sherm--
Cocoa programming in Perl: http://camelbones.sourceforge.net
Hire me! My resume: http://www.dot-app.org
_______________________________________________
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