AlanQuatermain / AQGridView

A grid view for iPhone/iPad, designed to look similar to NSCollectionView.
http://quatermain.tumblr.com/
BSD 3-Clause "New" or "Revised" License
2.37k stars 448 forks source link

Infinite Loop if cell.width > view.width #93

Open jonruiz opened 12 years ago

jonruiz commented 12 years ago

If layout is vertical and the desires cell width returned by the delegate is greater than the view's width, then there will be an infinite loop while trying to lay things out. I tracked it down to here and made the following change. The view will get cut off, but the infinite loop is avoided:

bsneed commented 12 years ago

great catch!