devinross/tapkulibrary — Issue #145: TKCoverflowView: IndexOutOfBounds
Author: devhiroyuki
Created: 2012-02-23 12:41:39+00:00
State: open

Hello,
I just tested your Coverflow and tried to use it in my app. Unfortunately, there are some invalid calls with objectAtIndex() For example if I only have 16 covers or less the app crash at snapToAlbum().
After inserting a validation (currentIndex < coverViews count) it runs better but the same error is thown at adjustViewHeirarchy(). I don't see any index validation in your code so far. Should it be so? Do you have a fast solution since I don't want to tamper with all of your classes ;-)

Any others with the same problem?

Best regard.