mirror of
https://github.com/Instagram/IGListKit
synced 2026-05-23 17:28:22 +00:00
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:
parent
de0fe91ae7
commit
7304fe820d
1 changed files with 3 additions and 1 deletions
|
|
@ -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]];
|
||||
|
|
|
|||
Loading…
Reference in a new issue