Fix UICollectionView debug dump script

Summary:
Duh, need to import macro

Issue fixed: #722

- [x] All tests pass. Demo project builds and runs.
Closes https://github.com/Instagram/IGListKit/pull/733

Differential Revision: D5040026

Pulled By: jessesquires

fbshipit-source-id: e9e51137ab4f7fa949667e3f3d644cd5c03abf80
This commit is contained in:
Ryan Nystrom 2017-05-11 14:27:50 -07:00 committed by Facebook Github Bot
parent de0fe91ae7
commit 7304fe820d

View file

@ -9,9 +9,11 @@
#import "UICollectionView+DebugDescription.h"
#import <IGListKit/IGListMacros.h>
@implementation UICollectionView (DebugDescription)
- (NSArray<NSString *> *)debugDescriptionLines; {
- (NSArray<NSString *> *)debugDescriptionLines {
NSMutableArray *debug = [NSMutableArray new];
#if IGLK_DEBUG_DESCRIPTION_ENABLED
[debug addObject:[NSString stringWithFormat:@"Class: %@, instance: %p", NSStringFromClass(self.class), self]];