Skip to content

Wrong behaviour if section have no items #1

@mariohahn

Description

@mariohahn

to test:

func collectionView(_ collectionView: UICollectionView, numberOfItemsInSection section: Int) -> Int {
    if section == 0 {
        return 0
    }
    return Int(arc4random_uniform(10) + 2)
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions