Setting int more than once causes crash
- by JulianB
I'm doing a CABasicAnimation and getting the value from a nested NSMutableArray.
Everything is great the first time it runs but crashes when called again either with custom functions or viewDidLoad.
I've isolated it down to this line
int int1 = [[[locationsArray objectAtIndex:0] objectAtIndex:0 ]integerValue] ;
I assume it's to do with int…