Iglistkit: Cell size calculation at Instagram

Created on 19 Oct 2018  路  4Comments  路  Source: Instagram/IGListKit

Given how important the cell height is for making it with IGListKit, could you explain, how the cell sizing is implemented at Instagram?

What are the best practices for handling dynamic content with various heights without AutoLayout?

question

All 4 comments

Do you mean text?

Check out the example project to see how sizing is implemented.

@jboo1212 not really, but the cell sizing as a whole. Cells could be of mixed content (text/images)

We don鈥檛 have anything fancy. Cell sizing is done by hand along with layout (just frame math). The examples in the repo are pretty close to how we do it at Instagram.

Sent with GitHawk

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jessesquires picture jessesquires  路  3Comments

alexwillrock picture alexwillrock  路  3Comments

kleiberjp picture kleiberjp  路  3Comments

FazeelAkhtar picture FazeelAkhtar  路  3Comments

PhilCai1993 picture PhilCai1993  路  3Comments