I am new to Objective C and I couldn t find resources on this subject at all
let s say I have a function Called A and a function called B , both belong to the same Class , how should I call function B inside of function A ? assuming they both belong to a Class called C
Thanks
//other code inside your project
-(void) functionA
{
NSLog(@"Hello"); // not sure if the syntax for this is right, but it should be
}
-(void) functionB
{
[self functionA];
}
call [self B] in A.
This would be a good start: http://cocoadevcentral.com/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With