From f94d01ed176255257e3b401848b1763f07b501c5 Mon Sep 17 00:00:00 2001 From: Bas Broek Date: Tue, 9 May 2017 16:05:15 -0700 Subject: [PATCH] Add `isPrefetchingEnabled` to debug description Summary: Issue fixed: #725 - [x] All tests pass. Demo project builds and runs. - [ ] I added tests, an experiment, or detailed why my change isn't tested. - [x] I added an entry to the `CHANGELOG.md` for any breaking changes, enhancements, or bug fixes. - [x] I have reviewed the [contributing guide](https://github.com/Instagram/IGListKit/blob/master/.github/CONTRIBUTING.md) Closes https://github.com/Instagram/IGListKit/pull/726 Differential Revision: D5032405 Pulled By: jessesquires fbshipit-source-id: aeda891f09c6aec751daa672258c0b071ea75ae2 --- Source/Internal/IGListAdapter+DebugDescription.m | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/Internal/IGListAdapter+DebugDescription.m b/Source/Internal/IGListAdapter+DebugDescription.m index 60b4fdb7..6f31d09d 100644 --- a/Source/Internal/IGListAdapter+DebugDescription.m +++ b/Source/Internal/IGListAdapter+DebugDescription.m @@ -32,6 +32,7 @@ [debug addObject:[NSString stringWithFormat:@"Scroll view delegate: %@", self.scrollViewDelegate]]; [debug addObject:[NSString stringWithFormat:@"Is in update block: %@", IGListDebugBOOL(self.isInUpdateBlock)]]; [debug addObject:[NSString stringWithFormat:@"View controller: %@", self.viewController]]; + [debug addObject:[NSString stringWithFormat:@"Is prefetching enabled: %@", IGListDebugBOOL(self.collectionView.isPrefetchingEnabled)]]; if (self.registeredCellClasses.count > 0) { [debug addObject:@"Registered cell classes:"];