NHBalancedFlowLayout icon indicating copy to clipboard operation
NHBalancedFlowLayout copied to clipboard

UICollectionViewLayout subclass for displaying items of different sizes in a grid without wasting any visual space. Inspired by: http://www.crispymtn.com/stories/the-algorithm-for-a-perfectly-balanced...

Results 15 NHBalancedFlowLayout issues
Sort by recently updated
recently updated
newest added

I use UICollectionView with NHBalancedFlowLayout inside another UICollectionView because I must get the height of content in NHBalancedFlowLayout by this code: ``` [((NHBalancedFlowLayout *) self.filesList.collectionViewLayout) prepareLayout]; CGFloat collectionSize = [((NHBalancedFlowLayout...

If you apply it for example 10k+ items it get stuck on: linearPartitionTable:(NSArray *)sequence numPartitions:(NSInteger)numPartitions

- Fixes the [Issue of upscaled images](https://github.com/njdehoog/NHBalancedFlowLayout/issues/22) wich occurs if the partition algorithm assigns a single item to one row. - Incorporates a fix for a crash on `[UICollectionView insertSections:]`...

I'm loading images from the server and naturally the thumbnails are pretty small, much smaller then the screen size. I noticed that only dimension ratios is taken into account, not...

Running into memory issues and/or really slow performance on a large camera roll (10k items). Not really an issue per say, as I'm aware of the heavy computation going on,...

``` 2015-03-12 11:34:31.523 App[56367:1208348] *** Assertion failure in -[UICollectionView _createPreparedSupplementaryViewForElementOfKind:atIndexPath:withLayoutAttributes:applyAttributes:], /SourceCache/UIKit_Sim/UIKit-3318.93/UICollectionView.m:1360 2015-03-12 11:34:31.538 App[56367:1208348] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'the view returned from -collectionView:viewForSupplementaryElementOfKind:atIndexPath (UICollectionElementKindSectionFooter, {length...

Hi, I just modify the layout to have sticky header (like in `UITableView`) in option. By default, `stickyHeaders` is set to no. I don't know if you wanted this feature....

if i habe 8 image how i can force it to make in this order 2 2 2 2 i notice it like 2 3 3

When scrolling up and down again this weird bug happens: ![img_8684](https://cloud.githubusercontent.com/assets/2100336/5173801/e9374dfc-742b-11e4-8c8e-ec146dfa2c06.PNG) ![img_8683](https://cloud.githubusercontent.com/assets/2100336/5173804/ed93e95a-742b-11e4-8578-f2bc6790f1f0.PNG)