NSIndexPath的初始化方法

好几次用到了NSIndexPath,但是一直不知道怎么通过 row   section这两个参数来初始化

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

 

直接使用!

posted on 2012-08-28 18:08  easonoutlook  阅读(17457)  评论(0编辑  收藏  举报