有关UITableView的知识点相对照较简单,一些简单的经常使用的方法有时间在写上:

以下的几个方法假设仅仅是展示UITableView是用不到的,须要对对应的区段进行操作的时候才会用到。

方法例如以下:

// Row insertion/deletion/reloading.

//更行的方法
- (void)beginUpdates;
//同意多个插入/删除行和部分同一时候动画。 嵌套的
- (void)endUpdates;
//也就是仅仅有insert/delete/reload calls方法或者改变编辑的状态带一个更新的代码段内,否则是无用的,比方:行 //相对于区段(也就是:行)来讲的。
- (void)insertRowsAtIndexPaths:(NSArray *)indexPaths withRowAnimation:(UITableViewRowAnimation)animation; //插入
- (void)deleteRowsAtIndexPaths:(NSArray *)indexPaths withRowAnimation:(UITableViewRowAnimation)animation;//删除
- (void)reloadRowsAtIndexPaths:(NSArray *)indexPaths withRowAnimation:(UITableViewRowAnimation)animation NS_AVAILABLE_IOS(3_0);//又一次载入
- (void)moveRowAtIndexPath:(NSIndexPath *)indexPath toIndexPath:(NSIndexPath *)newIndexPath NS_AVAILABLE_IOS(5_0);//移动行 //这个相对于段。也就是section来操作的
- (void)insertSections:(NSIndexSet *)sections withRowAnimation:(UITableViewRowAnimation)animation;//插入
- (void)deleteSections:(NSIndexSet *)sections withRowAnimation:(UITableViewRowAnimation)animation;//删除
- (void)reloadSections:(NSIndexSet *)sections withRowAnimation:(UITableViewRowAnimation)animation NS_AVAILABLE_IOS(3_0);//又一次载入
- (void)moveSection:(NSInteger)section toSection:(NSInteger)newSection NS_AVAILABLE_IOS(5_0);//移动

最新文章

  1. nexus 社区版3.0.2部署、访问
  2. css3 三角形
  3. GNU/Linux复习笔记(1)
  4. Servlet里面url-pattern的通配符*的使用规则
  5. 设置EditText光标位置
  6. Orchard 刨析:Logging
  7. 【架构】浅谈web网站架构演变过程
  8. fseek ftell rewind
  9. yii 隐藏index.php
  10. 翻译学python---《Learn Python the hard Way》---第一章 绪论
  11. 在apache上报错“The _imaging C module is not installed”
  12. TensorFlow实战之实现AlexNet经典卷积神经网络
  13. Minimum Inversion Number~hdu 1394
  14. linux下find命令的使用和总结
  15. python运用turtle 画出汉诺塔搬运过程
  16. python大法好——异常
  17. 【6集iCore3_ADP触摸屏驱动讲解视频】6-5 底层驱动之SDRAM读写(下)
  18. python基于pillow库的简单图像处理
  19. Vue-cli 配置开发环境让测试服务器监听所有IP
  20. PHP中 null ,false , 区别

热门文章

  1. ASP.NET-HttpPostedFileBase file为null的问题
  2. COGS——T 1175. [顾研NOIP] 旅游电车
  3. HDU 1131
  4. C#高级编程五十八天----并行集合
  5. MongoDB基本概念和安装配置
  6. javascript系列-class10.DOM(下)
  7. Git 连接细节
  8. FPGA之阻塞赋值与非阻塞赋值
  9. 继续ubuntu和遇到的easybcd的坑
  10. 虚拟机CentOS6.8下安装mycat