IGListKit icon indicating copy to clipboard operation
IGListKit copied to clipboard

Section properties value of ListSectionController class always returning invalid value

Open brams-9 opened this issue 2 years ago • 0 comments

New issue checklist

  • [X] I have reviewed the README and documentation
  • [x] I have searched existing issues and this is not a duplicate
  • [X] I have attempted to reproduce the issue and include an example project.

General information

  • IGListKit version: 4.0.0
  • iOS version(s): 14.5
  • CocoaPods/Carthage version:
  • Xcode version: 12.5
  • Devices/Simulators affected: All Device
  • Reproducible in the demo project? (Yes/No): Yes
  • Related issues:

Debug information

# Please include debug logs using the following lldb command:
po [IGListDebugger dump]

Hi, i've notice that section value inside init() method is always returning invalid value which is 9223372036854775807, it should have returning 0 if it is the first section , 1 if it is the second section and etc..,

here is the screenshoot Screen Shot 2022-03-29 at 17 10 17

but if i print the section value inside didUpdate() method , it's returning the correct value

is it a defect or intentional that section value inside init() method is always 9223372036854775807?

Thanks

brams-9 avatar Mar 29 '22 10:03 brams-9