Skip to content

PFei-He/PFTableViewCell-Static_Library

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PFTableViewCell-Static_Library

PFTableViewCell可完美实现动态高度的设置,列表上的控件会自动跟随列表高度的改变而自动调整相对位置

关键代码

//设置序号
cell.indexPath = indexPath;

//获取高度
[PFTableViewCell heightAtIndexPath:indexPath];

//设置高度
[PFTableViewCell setHeight:cellModelOneHeight atIndexPath:indexPath];

运行效果展示

image

注意

本代码目前为静态库的方式存在,若使用上出现错误,请与作者联系。
当本库的使用者或者追随者超过100,作者考虑将本代码开放出来。

About

自定义TableViewCell,可完美实现动态高度的设置,控件会自动跟随列表高度的改变而改变

Resources

Stars

Watchers

Forks

Packages

No packages published