项目作者: muukii

项目描述 :
SampleCode Autoresizing Cells
高级语言: Swift
项目地址: git://github.com/muukii/AutoresizingTableCollectionView.git
创建时间: 2017-06-01T07:21:24Z
项目社区:https://github.com/muukii/AutoresizingTableCollectionView

开源协议:

下载


Update (2020-11-27)

There is better way to do this.
https://stackoverflow.com/questions/44187881/uicollectionview-full-width-cells-allow-autolayout-dynamic-height


Example for calculating size of the cell that depends on itself content.

  • Use muukii/ViewSizeCalculator on TableView
  • Use UIKit Self-sizing on TableView
  • Use muukii/ViewSizeCalculator on CollectionView
  • Use UIKit Self-sizing on CollectionView
  • Use FlexLayout on CollectionView