scroll - iOS UICollectionView lags with scrolling at start -


I use a simple UICollectionView in my project in iOS.

The view loads to approximately 100 cells. The problem occurs even if the rooms are empty.

The view view appears after the view deedload. When I start scoring about the first three screen pages, then it is empty - even with empty cells!

After this I become smooth, I can also go to the top of the page and try again. Smooth scrolling caps

For two reasons that you can also face

1 Google Analytics

If you set to count each cell view, it starts fast, but then slows down and lags because Google Analytics writes I / O (maybe some caching) like you Scroll fast.

2 date parsing

The date format is difficult if you set up for each cell, make sure you have a singleton if possible.

Comments

Popular posts from this blog

excel vba - How to delete Solver(SOLVER.XLAM) code -

github - Teamcity & Git - PR merge builds - anyway to get HEAD commit hash? -

ios - Replace text in UITextView run slowly -