Skip to content

Instantly share code, notes, and snippets.

@rnystrom
Created April 4, 2017 01:01
Show Gist options
  • Select an option

  • Save rnystrom/7a0f4d39bf9e1320953be1e99d0e0bf8 to your computer and use it in GitHub Desktop.

Select an option

Save rnystrom/7a0f4d39bf9e1320953be1e99d0e0bf8 to your computer and use it in GitHub Desktop.
IGListKit sample debug dump
(lldb) po [IGListDebugger dump]
IGListAdapter 0x7ff4c0933100:
Updater type: IGListAdapterUpdater
Data source: <IGTestDelegateDataSource: 0x7ff4c0916ee0>
Collection view delegate: (null)
Scroll view delegate: (null)
Is in update block: No
View controller: (null)
Registered cell classes:
{(
IGTestCell
)}
IGListAdapterUpdater instance 0x7ff4c0932c30:
Moves as deletes+inserts: No
Allows background reloading: Yes
Has queued reload data: No
Queued update is animated: Yes
State: Executed batch update block
Batch update data:
Insert sections: <_NSCachedIndexSet: 0x7ff4c0810dc0>[number of indexes: 1 (in 1 ranges), indexes: (1)]
Delete sections: <_NSCachedIndexSet: 0x7ff4c080ff10>(no indexes)
Delete section 1 item 2
Delete section 1 item 3
Delete section 1 item 4
Delete section 1 item 1
Insert section 2 item 1
Insert section 2 item 2
Insert section 2 item 3
Insert section 2 item 4
Pending objects:
Object 0x7ff4c09c7740 of type IGTestObject with identifier 1
Object 0x7ff4c09c8c10 of type IGTestObject with identifier 4
Object 0x7ff4c091a890 of type IGTestObject with identifier 2
Object 0x7ff4c09c5420 of type IGTestObject with identifier 3
Section map details:
Object and section controller at section: 0:
<IGTestObject: 0x7ff4c09c7740>
<IGTestDelegateController: 0x7ff4c0935dd0>
Object and section controller at section: 1:
<IGTestObject: 0x7ff4c09c8c10>
<IGTestDelegateController: 0x7ff4c0834620>
Object and section controller at section: 2:
<IGTestObject: 0x7ff4c091a890>
<IGTestDelegateController: 0x7ff4c09361a0>
Object and section controller at section: 3:
<IGTestObject: 0x7ff4c09c5420>
<IGTestDelegateController: 0x7ff4c0936410>
Previous section map details:
Object and section controller at section: 0:
<IGTestObject: 0x7ff4c0933460>
<IGTestDelegateController: 0x7ff4c0935dd0>
Object and section controller at section: 1:
<IGTestObject: 0x7ff4c09334d0>
<IGTestDelegateController: 0x7ff4c09361a0>
Object and section controller at section: 2:
<IGTestObject: 0x7ff4c09334f0>
<IGTestDelegateController: 0x7ff4c0936410>
Collection view details:
Class: UICollectionView, instance: 0x7ff4c1032a00
Data source: <IGListAdapter: 0x7ff4c0933100>
Delegate: <IGListAdapter: 0x7ff4c0933100>
Layout: <UICollectionViewFlowLayout: 0x7ff4c082a0a0>
Frame: {{0, 0}, {100, 100}}, bounds: {{0, 0}, {100, 100}}
Number of sections: 3
1 items in section 0
5 items in section 1
1 items in section 2
Visible cell details:
Visible cell at section 0, item 0:
<IGTestCell: 0x7ff4c093ad60; baseClass = UICollectionViewCell; frame = (0 0; 100 10); layer = <CALayer: 0x7ff4c093aa50>>
Visible cell at section 1, item 0:
<IGTestCell: 0x7ff4c09c3f20; baseClass = UICollectionViewCell; frame = (0 10; 100 10); layer = <CALayer: 0x7ff4c09c3c30>>
Visible cell at section 1, item 1:
<IGTestCell: 0x7ff4c09c55a0; baseClass = UICollectionViewCell; frame = (0 20; 100 10); layer = <CALayer: 0x7ff4c09c54c0>>
Visible cell at section 1, item 2:
<IGTestCell: 0x7ff4c09c68a0; baseClass = UICollectionViewCell; frame = (0 30; 100 10); layer = <CALayer: 0x7ff4c09c6770>>
Visible cell at section 1, item 3:
<IGTestCell: 0x7ff4c09c7b80; baseClass = UICollectionViewCell; frame = (0 40; 100 10); layer = <CALayer: 0x7ff4c09c7a30>>
Visible cell at section 1, item 4:
<IGTestCell: 0x7ff4c09c8e60; baseClass = UICollectionViewCell; frame = (0 50; 100 10); layer = <CALayer: 0x7ff4c09c8ca0>>
Visible cell at section 2, item 0:
<IGTestCell: 0x7ff4c09c9ff0; baseClass = UICollectionViewCell; frame = (0 60; 100 10); layer = <CALayer: 0x7ff4c09c9ec0>>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment