Rightpoint / RZCellSizeManager

Dynamic size computation and caching for cells.
MIT License
242 stars 32 forks source link

Add support for trait collections. #30

Closed ZevEisenberg closed 9 years ago

ZevEisenberg commented 9 years ago

@Raizlabs/maintainers-ios and especially @arrouse: PR for you :)

ZevEisenberg commented 9 years ago

@arrouse I added 7eb62ba, which fixes a bug I encountered with cells that use internal size constraints to aid cell size manager in sizing cells correctly (e.g. to get fixed-width columns in a waterfall style layout). I added the fix to both the cell size method and the cell height method. The cell height method's size parameter ends up having zero width in my tests. I assume it would have a larger width if you had a width constraint internally, but I wanted to call it out in case you wanted it to work differently.