I have a method that accepts an integer and returns an integer.
I can call it with
But when I try to send in an element of an integer array...
it results in an infinite loop. Is there some syntax I'm missing that needs to be used when passing an element from an array?
Thanks in advance,
-Dogcow "moof!"
I can call it with
Code:
myInt = [self myMethod:myInt];
But when I try to send in an element of an integer array...
Code:
myInt = [self myMethod:myIntArray[i][j]];
it results in an infinite loop. Is there some syntax I'm missing that needs to be used when passing an element from an array?
Thanks in advance,
-Dogcow "moof!"