Skip to content

Section properties value of ListSectionController class always returning invalid value #1559

@brams-9

Description

@brams-9

New issue checklist

  • I have reviewed the README and documentation
  • I have searched existing issues and this is not a duplicate
  • 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions