UICollectionView newspaper like layout

2019-03-09 04:27发布

Can UICollectionView be flexed to dynamically render interfaces like this one below (Newsify for iPhone)?

enter image description here

Or can only predefined static layouts be rendered? I would want to layout based on the image dimensions (h x w), say small grids for small images and larger ones for big images, all decided at runtime based on the data I get from my datasource.

EDIT: Any good tutorials on complicated dynamic layouts like the one above?

1条回答
欢心
2楼-- · 2019-03-09 04:28

Can UICollectionView be flexed to dynamically render interfaces like this one below (Newsify for iPhone)?

Yes.

Any good tutorials on complicated dynamic layouts like the one above?

There are some nice ones in GitHub, like:

And from other places:

Raywenderlich as also a serie of posts related to that:

查看更多
登录 后发表回答