NSIndexPath的初始化方法

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

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

直接使用!

posted @ 2016-01-20 15:08  北狐  阅读(880)  评论(0编辑  收藏  举报