steipete/PSTCollectionView — pull request #141 by taiyangc (2012-12-12 04:10:24+00:00)
Title: Fix linelayout example by removing invalid bound checks

I am not sure why these two constraints were added.

_contentSize only defines a size, not origin, thus taking minimums of that will produce an invalid bounding rect.

In fact, layoutAttributesForElementsInRect: will need the entire rect (visible area) to calculate all on-screen elements.

With this change and the latest master commit, all examples are tested working again.