bryceredd / RFQuiltLayout

A UICollectionViewLayout subclass to put items in a quilting pattern
MIT License
872 stars 130 forks source link

Way to use RFQuiltLayout #8

Open bassrock opened 11 years ago

bassrock commented 11 years ago

This is more open for discussion than an issue. The current way to use RFQuiltLayout requires a block size which can take a long time to load if set to low numbers. I wonder if there is another way to do this that uses the regular cell sizes but is fast with a lot of small cells.

bryceredd commented 11 years ago

When you say "regular cell sizes" do you mean a flat CGSize like you would specify in a UICollectionViewFlowLayout? The point of having a constant block size is to align the views together like this

The performance on loading "a lot of small cells" is mostly bound by loading/unloading UIViews, not necessarily the layout. I'm not sure this would be the right tool for anything under 20px x 20px. What did you have in mind?