第0行的IndexPath

时间:2015-04-03 19:20:16

标签: ios swift xcode6 nsindexpath

我想获取第0行的NSIndexPath。如何找到第0行的正确NSIndexPath?我想把它放在这里:let object = self.fetchedResultsController.objectAtIndexPath(/*the indexPath for row 0*/) as NSManagedObject你知道我怎么能这样做并想帮助我吗?谢谢你的回答。

1 个答案:

答案 0 :(得分:0)

NSIndexPath(forRow: 0, inSection: 0)

正是您要找的。

相关问题