Are we allowed to recurse in objective-c? that is, in the implementation of -(void)someMethod:(int)index; can I call [self someMethod:index+1];?
I need something like this for an app I'm writing, but it doesn't seem to work properly. I have a variable called dx (type is int) inside the method, and every time the debugger stops(in the middle of the method), I printed out a pointer to dx, and it was always the same...
What do I have to do to get recursion to work? define a function or something?