NSIndexPath初始化

在UITableView中经常用到这个类,但一直不知道怎么初始化,网上抄录的代码如下,果然好用

NSIndexPath *index = [NSIndexPath indexPathForRow:0 inSection:4];

posted @ 2014-04-09 10:27  dongweiq  阅读(729)  评论(0编辑  收藏  举报