I have property:
@property NSMutableArray *fieldsArray;
@synthesize fieldsArray;
and in method I try to get something from this array:
- (void)animationDidStop:(CAAnimation *)theAnimation finished:(BOOL)flag{
NSInteger firstBallIndex = [self.fieldsArray indexOfObject:self.firstBall];
}
But then I get error :
NSRangeException', reason: '* -[__NSArrayM objectAtIndex:]: index 2147483647 beyond bounds [0 .. 35]'
So array is not accesible.
How to do it visible?