标签: ios swift xcode6 nsindexpath
我想获取第0行的NSIndexPath。如何找到第0行的正确NSIndexPath?我想把它放在这里:let object = self.fetchedResultsController.objectAtIndexPath(/*the indexPath for row 0*/) as NSManagedObject你知道我怎么能这样做并想帮助我吗?谢谢你的回答。
let object = self.fetchedResultsController.objectAtIndexPath(/*the indexPath for row 0*/) as NSManagedObject
答案 0 :(得分:0)
NSIndexPath(forRow: 0, inSection: 0)
正是您要找的。