Reputation: 6913
-(void) callme {
//statements
here I call another method "callmeagain"
}
}
But it is not working. Is there another way to do it?
Upvotes: 0
Views: 408
Reputation: 171
Another Method could be
[self performSelector:@selector(callmeagain)];
It is basically the same thing as Kenny's Suggestion
Upvotes: 1
Reputation: 523284
To call an ObjC method, use the syntax [foo methodName:param andAlso:param2 …]
In your case, try
-(void)callme {
[self callmeagain];
}
Upvotes: 5