UITableView/UICollectionView 单元格的子类:HTKDynamicResizingCell

jopen 10年前

HTKDynamicResizingCell 是 UITableView/UICollectionView 单元格的子类,允许自动计算他们的大小,准确的进行 AutoLayout。支持 iOS 7+;类似于 iOS 8 自动缩放单元格的功能,包括完整的运行示例和目录。

Adding to your project:

Cocoapods

CocoaPods is the recommended way to add HTKScrollingNavigationController to your project.

  1. Add a pod entry for HTKScrollingNavigationController to your Podfile pod 'HTKDynamicResizingCell', '~> 0.0.1'
  2. Install the pod(s) by running pod install.
  3. Subclass HTKDynamicResizingTableViewCell or HTKDynamicResizingCollectionViewCell where you wish to use it.
  4. Make sure Auto-layout is setup correctly. See comments in classes for help.

UITableView/UICollectionView 单元格的子类:HTKDynamicResizingCell

项目主页:http://www.open-open.com/lib/view/home/1416464788414