run method from other method
run method from other method
- Subject: run method from other method
- From: Michael Swan <email@hidden>
- Date: Sat, 15 Jan 2005 16:28:15 -0500
I am teaching myself, or trying anyway, Cocoa with Obj-C. I follow a few examples and then try to make something on my own. I have gotten stuck on my latest project. It has 3 buttons (a, b, & c) and a different method for each. a does one set of tasks, b a second, and c does both methods, (... or should anyway). a & b are fine but c is not working at all. I'm sure its something simple but I don't even know what to put into the search field (self returns no documents). Below is a copy of methodC, if anyone has any ideas I'd be grateful to hear them.
- (id)sender
{
// do both methods
[self methodA];
[self methodB];
}
- (id)sender
{
//do some stuff
}
- (id)sender
{
do some different stuff
}
Thanks,
Mike
"The Ego is the little self that pretends to be the only self and speaks so loudly that the still, small voice of the Greater Self, whose whisperings come from within the Soul, are rarely heard - unless we learn to listen."
_______________________________________________
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