Blueprints icon indicating copy to clipboard operation
Blueprints copied to clipboard

Number of sections should default to 0

Open christoff-1992 opened this issue 5 years ago • 1 comments

The number of sections should default to 0 to stop subsequent calls been made to other delegate methods when there are no items to be displayed.

https://github.com/zenangst/Blueprints/blob/c3dc5442d3102d933bc439c5c845b277b20034b1/Sources/Shared/Core/BlueprintLayout.swift#L38

This would cause a crash if headers/footers where been dequeued.

christoff-1992 avatar Mar 02 '20 15:03 christoff-1992

Very interesting find mate!

zenangst avatar Mar 02 '20 16:03 zenangst