Calling class methods

FoolyCooly

Registered
I never thought to look it up, because I just assumed it would work. But after looking around through my books and online, i'm not sure what to do or what the term would be called.

How does one call another class method of the same class within itself ?

-(void) trialClassMethod_1
{
...code...
trialClassMethod_n;
...code...
}
 
Code:
[self trialClassMethod_n];

FWIW, class methods are declared starting with +. What you have there is an instance method...
 
Thanks a lot, really.
I remember using it now, in another program, but without making the connection as to what I was doing then.
 
Back
Top