IGListKit/Source/Common
Ryan Nystrom 073fc073e0 Prevent duplicate item deletes and drop reload collisions
Summary:
a415ef5552 exposed a bug in `UICollectionView` where its state gets corrupted when deleting the same index path more than once in a single batch update block. This resulted crashes like

```
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x4)
Closes https://github.com/Instagram/IGListKit/pull/657

Reviewed By: jessesquires

Differential Revision: D4913790

Pulled By: rnystrom

fbshipit-source-id: 8f6fcdd2e2438da309fc64ca0ac111b9a0980149
2017-04-19 17:17:41 -07:00
..
Internal Move macOS and diffing files to Common dir 2016-12-19 12:29:24 -08:00
IGListAssert.h Remove IGListSectionType 2017-04-19 08:26:30 -07:00
IGListBatchUpdateData.h Remove @param alignment from header docs #trivial 2017-04-18 09:46:18 -07:00
IGListBatchUpdateData.mm Prevent duplicate item deletes and drop reload collisions 2017-04-19 17:17:41 -07:00
IGListCompatibility.h Added compatibility header 2016-12-24 10:44:25 -08:00
IGListDiff.h Remove @param alignment from header docs #trivial 2017-04-18 09:46:18 -07:00
IGListDiff.mm Added compatibility header 2016-12-24 10:44:25 -08:00
IGListDiffable.h Move macOS and diffing files to Common dir 2016-12-19 12:29:24 -08:00
IGListDiffKit.h Added Subspec for Diffing 2016-12-27 12:44:27 -08:00
IGListExperiments.h Remove @param alignment from header docs #trivial 2017-04-18 09:46:18 -07:00
IGListIndexPathResult.h - (BOOL) hasChanges should be a readonly property 2017-02-02 09:59:05 -08:00
IGListIndexPathResult.m Convert NSUInteger to NSInteger 2017-01-22 14:44:14 -08:00
IGListIndexSetResult.h - (BOOL) hasChanges should be a readonly property 2017-02-02 09:59:05 -08:00
IGListIndexSetResult.m Convert NSUInteger to NSInteger 2017-01-22 14:44:14 -08:00
IGListMacros.h Move macOS and diffing files to Common dir 2016-12-19 12:29:24 -08:00
IGListMoveIndex.h Move macOS and diffing files to Common dir 2016-12-19 12:29:24 -08:00
IGListMoveIndex.m Move macOS and diffing files to Common dir 2016-12-19 12:29:24 -08:00
IGListMoveIndexPath.h Move macOS and diffing files to Common dir 2016-12-19 12:29:24 -08:00
IGListMoveIndexPath.m Move macOS and diffing files to Common dir 2016-12-19 12:29:24 -08:00
NSNumber+IGListDiffable.h Move macOS and diffing files to Common dir 2016-12-19 12:29:24 -08:00
NSNumber+IGListDiffable.m Move macOS and diffing files to Common dir 2016-12-19 12:29:24 -08:00
NSString+IGListDiffable.h Move macOS and diffing files to Common dir 2016-12-19 12:29:24 -08:00
NSString+IGListDiffable.m Move macOS and diffing files to Common dir 2016-12-19 12:29:24 -08:00