nicklockwood / iCarousel

A simple, highly customisable, data-driven 3D carousel for iOS and Mac OS
http://www.charcoaldesign.co.uk/source/cocoa#icarousel
Other
12k stars 2.58k forks source link

How can I scroll only one item?? #822

Open zeallat opened 6 years ago

zeallat commented 6 years ago

Hi, I'm using cylinder type iCarousel.

I want to my iCarousel move only one item after dragging and scrolling.

For example, when I drag my iCarousel, it should work dragging. And when I take off my finger from screen, the iCarousel should be scrolled only one item (I think 1 offset is what I mean)

Please tell me how can I do this.

Your iCarousel is very beautiful.

rpanichkin commented 6 years ago

@zeallat Hey, Just set paging: carouselView.isPagingEnabled = true