tableView
文章平均质量分 77
zhaochunyang_0726
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
理解iOS 8中的Self Sizing Cells和Dynamic Type
在iOS 8中,苹果引入了UITableView的一项新功能--Self Sizing Cells,对于不少开发者来说这是新SDK中一项非常有用的新功能。在iOS 8之前,如果想在表视图中展示可变高度的动态内容时,你需要手动计算行高,而Self Sizing Cells为展示动态内容提供了一个解决方案。以下是你使用Self Sizing Cells时需要注意的事项: 1.为原型单元格定义Auto转载 2014-09-24 09:08:41 · 728 阅读 · 0 评论 -
ios tableViewCell 数组方式 全选、多选的删除
typedef NS_ENUM(NSUInteger, EditTypes) { // 删除状态 deleteForEditTypes = 0, // 编辑状态 editForEditTypes, }; @interface FavoriteBoard ()UITableViewDelegate, UITableViewDataSource>原创 2015-01-05 16:50:53 · 1455 阅读 · 0 评论 -
自定义tableview 左划 按键
ios 8 以后系统有自定义方法 - (NSArray *)tableView:(UITableView *)tableView editActionsForRowAtIndexPath:(NSIndexPath *)indexPath { // 添加一个删除按钮 UITableViewRowAction *deleteRowAction = [UIT原创 2016-09-20 09:18:42 · 397 阅读 · 0 评论
分享