Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

UICollectionView with infinite scrolling?

I'm attempting to implement a collection view with an infinite scrolling behaviour. The scrolling should be circular - like in a UIPickerView. Can it be done with Apple's UICollectionView or there is no choice but to create a horizontal PickerView ?

What do you think?

like image 308
Alex1987 Avatar asked Mar 20 '13 16:03

Alex1987


1 Answers

You should watch the WWDC 2011 session video "Advanced ScrollView Techniques", they talk about infinite scrolling, and I'm pretty sure it's possible to use that with UICollectionViews. It recenters while you scroll, and places the new items after the current visible items (or before, depending on the scroll direction).

Like they say in the session, you should not use an approach that has an ending. Like stated in the session: People will definitely find the edge at one point.

like image 182
Guido Hendriks Avatar answered Oct 13 '22 21:10

Guido Hendriks