Re: performBatchUpdates: + removeObjectAtIndex: = EXC_BAD_ACCESS
Re: performBatchUpdates: + removeObjectAtIndex: = EXC_BAD_ACCESS
- Subject: Re: performBatchUpdates: + removeObjectAtIndex: = EXC_BAD_ACCESS
- From: Jens Alfke <email@hidden>
- Date: Fri, 16 Jan 2015 21:50:20 -0800
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 on a background thread? Set some breakpoints and look at what thread(s) they're hit on.
—Jens
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden