IanTableViewManager 0.1.1

许可证 MIT
2016年5月

Ian Weng维护。



  • 作者:
  • Ian Weng

在iOS8 Autolayout中实现带自适应性单元格的表格视图数据结构

IanTableViewController

  • @property(nonatomic, strong) NSMutableArray *sectionDescriptors;
  • - (void)addSectionDescriptor:(IanTVSectionDescriptor *)sectionDescriptor;
  • - (void)addSectionDescriptors:(NSArray *)sectionDescriptors;

IanTVSectionDescriptor

  • @property(nonatomic, strong) NSMutableArray *rowDescriptors;
  • - (void)addRowDescriptor:(IanTVRowDescriptor *)rowDescriptor;
  • - (void)addRowDescriptors:(NSArray *)rowDescriptors;

  • @property(nonatomic) CGFloat headerHeight;
  • @property(nonatomic) CGFloat footerHeight;
  • @property(nonatomic, strong) UIView *footerView;
  • @property(nonatomic, strong) UIView *headerView;
IanTVRowDescriptor
  • + (instancetype)descriptorWithCellClass:(Class)cellClass cellValue:(id)cellValue;
IanTVCellAbstract

MIT许可(MIT)

版权所有 (C) 2016 Ian Weng | [email protected]