Skip to content

Crash when using with Refresh Header #6

@nickup

Description

@nickup

Your Layout Kit is pretty cool to me, but i thought there was a bug.

if (self.collectionView.isDecelerating || self.collectionView.isDragging) {

} else {
    [self calculateMaxColumnsCount];
    [self calculateItemsInnerMargin];
    [self calculateItemsHeights];
    [self calculateSectionsHeights];
    [self calculateItemsAttributes];
}

this piece of code in preparelayout brings a lot of crash to my project.
It won't update the layout when dragging or decelerating. T T

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions