Re: performBatchUpdates: + removeObjectAtIndex: = EXC_BAD_ACCESS

2015-01-16 Thread Jens Alfke
I suspect your code is getting called on multiple threads, which would definitely cause crashes or heap corruption since you haven't added any synchronization around your objects. If you don't explicitly use multiple threads, maybe the UICollectionView is running your performBatchUpdates: block

performBatchUpdates: + removeObjectAtIndex: = EXC_BAD_ACCESS

2015-01-16 Thread Josh Avant
Hi everyone, I'm getting an EXC_BAD_ACCESS from my specific combination of performBatchUpdates: and removeObjectAtIndex:. The application is within a framework I'm developing. The framework has a Mediator object, and multiple Manager dependencies. The Mediator combines input from all of the Manag