njdehoog / NHBalancedFlowLayout

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-photo-gallery
MIT License
1.34k stars 106 forks source link

Rewritten parts of the linear partition method #9

Closed almerlucke closed 10 years ago

almerlucke commented 10 years ago

Rewritten the generation of the linear partition solution table to use C-style buffers instead of Objective-C objects to gain in execution speed

sneakyness commented 10 years ago

:+1: this rules

njdehoog commented 10 years ago

Great stuff @lickylick!