iOS UITableView~members(常用成员方法)
来源:互联网 发布:excel数据透视 编辑:程序博客网 时间:2024/05/21 08:58
//联系人:石虎 QQ: 1224614774昵称:嗡嘛呢叭咪哄
一、UITableView常用成员方法
//通过indexpath获取指定行的uitableviewcell
[_table cellForRowAtIndexPath:indexPath];
[_table deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:UITableViewRowAnimationFade];
[_table deleteSections:[NSIndexSet indexSetWithIndex:1] withRowAnimation:UITableViewRowAnimationMiddle];
[_table deselectRowAtIndexPath:indexPath animated:YES];
[_table headerViewForSection:indexPath.row];
[_table footerViewForSection:indexPath.row];
[_table indexPathForCell:cell];
[_table indexPathForRowAtPoint:CGPointMake(0,0)];
[_table indexPathForSelectedRow];
[_table indexPathsForRowsInRect:CGRectMake(0,0,100,100)];
[_table indexPathsForVisibleRows];
[_table insertRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:UITableViewRowAnimationLeft];
[_table insertSections:[NSIndexSet indexSetWithIndex:0] withRowAnimation:UITableViewRowAnimationRight];
[_table rectForRowAtIndexPath:indexPath];
[_table reloadData];
[_table reloadRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:UITableViewRowAnimationTop];
[_table reloadSectionIndexTitles];
[_table reloadSections:[NSIndexSet indexSetWithIndex:0] withRowAnimation:UITableViewRowAnimationFade];
[_table scrollsToTop];
[_table scrollRectToVisible:CGRectMake(0,0,100,100) animated:YES];
[_table scrollToNearestSelectedRowAtScrollPosition:UITableViewScrollPositionBottom animated:YES];
[_table scrollToRowAtIndexPath:indexPath atScrollPosition:UITableViewScrollPositionBottom animated:YES];
[_table visibleCells];
[_table beginUpdates];
[_table endUpdates];
谢谢!!!
- iOS UITableView~members(常用成员方法)
- iOS UITableView 常用方法集合
- iOS UITableView相关成员方法详解
- IOS UITableView 常用方法及属性
- iOS UITableView的一些常用属性,方法
- [iOS]UITableView回调和table相关成员方法详解
- ios开发总结之UITableView常用属性和方法
- iOS开发之高级视图—— UITableView常用方法
- UITableView 常用方法总结
- 3.UItableView常用方法
- UITableView 常用方法列表
- UITableView中常用方法
- UITableView 常用方法列表
- UITableView的常用方法
- UITableView常用方法
- iOS-UITableView方法总结
- TIniFile Members (ini文件成员)-
- iOS开发 UITableView 常用细节
- 【转】抓包工具Charles的使用心得
- STM32输出比较模式和PWM模式
- 开始记录深度学习工作站的学习之路
- Retrofit2高级教程 一 CompositeDisposable是否能够真的中断订阅
- QT中PRO文件写法的详细介绍,很有用,很重要!
- iOS UITableView~members(常用成员方法)
- 编码习惯-函数编写建议
- 快速排序Java(指针双向从头尾向中间扫描)
- 5w每秒的高并发优化:电商秒杀与抢购
- oracle odbc连接us7ascii字符集乱码的问题
- 解决mac 10.10 拖拽QUrls fileid=xxx
- IO编程
- 剑指offer——43.左旋转字符串
- 全量表、增量表、快照表