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

Add two carousel reload data Crash? #816

Closed WS-Vincent closed 6 years ago

WS-Vincent commented 6 years ago

I add two icarousel in one controller,when i click the first one,then i change the second one dataSource,after reloadData. I found when the dataSource of the first icarousel is bigger than the second one ,it will crash .it still remember the first index .Is there a better way?