Added Inter-item spacing like UICollectionViewFlowLayout
Implemented declared predrawEverything.
Sorry I didn't see this earlier, I don't know how I missed it. I've added this function in the delegate:
- (UIEdgeInsets) insetsForItemAtIndexPath:(NSIndexPath *)indexPath; // defaults to uiedgeinsetszero
It seems like this is fairly equivalent with minimumInteritemSpacing, will this do for your needs?
Well my branch is diverged as I needed to support iOS5 with PSCollectionView and couldn't find a way to support both ways. I also implemented the missing predrawEverything See branches: https://github.com/bryceredd/RFQuiltLayout/network
In most cases users of this library will be migrating from standard FlowLayout so it's best to keep API as close to FlowLayout as possible.
I would recommend calling it minimumInteritemSpacing property to be consistent with naming in Apple's UICollectionViewFlowLayout: http://developer.apple.com/library/ios/#documentation/uikit/reference/UICollectionViewFlowLayout_class/Reference/Reference.html
please merge