Scrolling a collection view with a circular layout

I use the code from this blog post: http://markpospesel.wordpress.com/2012/10/25/fixing-circlelayout/ (Code on github: https://github.com/mpospese/CircleLayout )

This is basically a modified version of the CircleLayout project submitted by Apple at WWDC.

What I would like to do is add the ability to scroll into the round view of the collection. Or perhaps it should be called rotating.

I am going to display the collection from the screen below so that you can only see the upper third. And scrolling, spinning the wheel, allows the user to see all objects.

How can i do this? Does collection viewing support default scrolling support, or do I need to add a recognizer and do it manually?

+6
source share
2 answers

I think iCarousel is a great choice for you: https://github.com/nicklockwood/iCarousel Use the wheel type.

+3
source

I developed a custom UICollectionviewLayout that composes collection cells in a circular layout. It can be customized to display specific.

In your case, you will need 180 - 0 degrees.

https://github.com/DoddaSrinivasan/DSCircularCollectionView

+1
source

All Articles