#pragma mark - 通过控件获取cell

-(UITableViewCell*)GetCellFromTableView:(UITableView*)tableView Sender:(id)sender {

CGPoint pos = [sender convertPoint:CGPointZero toView:tableView];

NSIndexPath *indexPath = [tableView indexPathForRowAtPoint:pos];

return [tableView cellForRowAtIndexPath:indexPath];

}

最新文章

  1. Transaction (Process ID xxx) was deadlocked on lock
  2. 在 .NET 4.0 中使用 .NET 4.5 中新增的特性(CallerMemberNameAttribute/CallerFilePathAttribute/CallerLineNumberAttribute)
  3. Bzoj 2038---[2009国家集训队]小Z的袜子(hose) 莫队算法
  4. 阿里云 SWAP
  5. cppcheck
  6. ZOJ 3261 Connections in Galaxy War(逆向并查集)
  7. debian非正常关机进不了图形界面的解决方法
  8. bzoj3721 [PA2014 Final] Bazarek
  9. CF 338 D GCD Table(CRT)
  10. Sql Server 2008 卸载重新安装失败的解决办法!(多次偿试,方法均有效!)
  11. C++指针数组和指向指针的指针
  12. python基础之数据类型/字符串/元组/列表/字典
  13. 电脑突然使用不了复制粘贴快捷键,Ctrl+C和Ctrl+V没用
  14. preventDefault()、stopPropagation()、return false 的区别
  15. 51Nod1367 完美森林 贪心
  16. 超级牛皮的oracle的分析函数over(Partition by...) 及开窗函数 (转)
  17. Windows 7下载安装 Visual C++ 6.0(VC6) 全程图解
  18. 集合List
  19. 第六节 事务XML方式[声明方式]
  20. 『PyTorch』第五弹_深入理解Tensor对象_中上:索引

热门文章

  1. SGU 155.Cartesian Tree
  2. Codeforces 474E - Pillars
  3. 数据库,inner join,left join right join 的区别
  4. CSS实现图片在div a标签中水平垂直居中
  5. ie8 background css没有显示?——都是空格惹的祸
  6. 假金币问题-PKUacm1029-ACM
  7. php计算时间差/两个时间日期相隔的天数,时,分,秒.
  8. html框架集 js刷新页面方法大全
  9. Unity问答——请问一下动画状态机怎么判断动画是否播完了?
  10. Struts2之ajax初析