Skip to content
This repository has been archived by the owner on Mar 26, 2019. It is now read-only.

Crash on return 0 from numberOfSectionsInCollectionView(_) #13

Open
rishi420 opened this issue Aug 8, 2016 · 0 comments
Open

Crash on return 0 from numberOfSectionsInCollectionView(_) #13

rishi420 opened this issue Aug 8, 2016 · 0 comments

Comments

@rishi420
Copy link

rishi420 commented Aug 8, 2016

func numberOfSectionsInCollectionView(collectionView: UICollectionView) -> Int {
        return 0
    }

This is required if datasource is coming form server. First time view refreshes with 0 sections, before response arrive from the server.

rishi420 added a commit to rishi420/CustomCollectionViewLayout that referenced this issue Aug 8, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant