I have a method getImageData which I call as [self performSelectorInBackground:@selector(getImagesData ) withObject:nil]; in my viewDidLoad. getImageData has a for-loop i realised that each index in the loop is called more than once. I also access a static NSMutableArray in the loop. When i don't retain the array it gives me exc bad access. If I retain it the loop runs endlessly
How to ALTER sqlite column (iPhone)?
1:How to escape characters in href=mailto (iPhone)
- changing the loop invariant
- corrupting memory in exactly the right way
- you are inadvertently executing the loop multiple times -