一. masonry与UITableView-FDTemplateLayoutCell(第三方框架配合能自动计算CELL高度)
1.FDTemplateLayoutCell使用
(1)倒入工程
pod search UITableView+FDTemplateLayoutCell
If you cannot search out the latest version, try:
pod setup
(2)控制器中需要添加的代码
#import <Masonry.h>
#import <UITableView+FDTemplateLayoutCell.h>
(3)自定义cell
(4)自定义cell相关代码
(5)效果图