Get Updates By E-mail 

Article Written By:
Johann Dowa

Tutorial: How To Create An Infinite Scrolling UICollectionView

  •  
  •  
  •  
  •  
  •  

A few months ago I mentioned a great tutorial on using UICollectionView from Tim Duckett demonstrating how to create a scrolling photo gallery.

Here’s another excellent tutorial from Tim demonstrating the techniques used to create an infinite scrolling UICollectionView.

In the tutorial Tim shows how implement a simple technique that provides endless scrolling both forward and backwards going through how to set up your data, how to place the collection view when the end or beginning is reached, and how to detect if the user has reached the beginning or end of the uicollectionview.

Here’s a diagram from the tutorial demonstrating how things are handled when reaching the end of the UICollectionView based gallery:

Infinite Scrolling

 

You can find the tutorial on the Adoption Curve site here.

Thanks to Jeff for the submission.


  •  
  •  
  •  
  •  
  •  

Submit A Resource

Have you created a useful tutorial, library or tool for iOS development that you would like to get in front of our 300,000+ monthly page views from iOS developers?

You can submit the url here.

The resources we feel will appeal to our readers the most will be posted on the front page.

Comments