8000 GitHub - Horck/JHCellConfig: Flexible way to build a UITableView contains different kinds of cells, without switch...case, super easy to modify.- 一种十分灵活易变的适用于创建有多种cell的UITableView的方法,不需要使用switch...case,在调整不同种cell的顺序、及增删某种cell时极其方便
[go: up one dir, main page]

Skip to content

Flexible way to build a UITableView contains different kinds of cells, without switch...case, super easy to modify.- 一种十分灵活易变的适用于创建有多种cell的UITableView的方法,不需要使用switch...case,在调整不同种cell的顺序、及增删某种cell时极其方便

License

Notifications You must be signed in to change notification settings

Horck/JHCellConfig

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

JHCellConfig

  • Flexible way to build a UITableView contains different kinds of cells, without switch...case, super easy to modify.
  • 一种十分灵活易变的适用于创建有多种cell的UITableView的方法,不需要使用switch...case,在调整不同种cell的顺序、及增删某种cell时极其方便

本类相当于将tableView中cell所需的基本信息存储下来,以便放到数组中管理

关于如何使用请看demo,注释写了很多

优点:改变不同类型cell的顺序、增删时,极为方便,只需改变VC中数据源数组即可,无需在多个tableView代理方法中逐个修改

缺点:大家帮我找一找,什么样的需求会难以实现,感谢^_^

我会不定期更新此demo,加上一些“高级”用法,即应对不同需求时的用法,可以关注下面的微信公众号,更新时我会给你们发消息


Email:jchu_dlcn@icloud.com 新浪微博:@胡竞尘_要做全面发展的好青年 QQ:601541744 微信公众号:hujingchen4096

About

Flexible way to build a UITableView contains different kinds of cells, without switch...case, super easy to modify.- 一种十分灵活易变的适用于创建有多种cell的UITableView的方法,不需要使用switch...case,在调整不同种cell的顺序、及增删某种cell时极其方便

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Objective-C 98.6%
  • C 1.4%
0