我有一个UITableView
使用 aYapDatabaseView
和 a 的 a YapDatabaseViewMappings
。我正在尝试以编程方式让我的表格视图滚动到数据库中给定对象的位置...
使用 CoreData 我正在做:
NSIndexPath *indexPath = [self.fetchedResultsController indexPathForObject:myObject];
[self.tableView scrollToRowAtIndexPath:indexPath atScrollPosition:UITableViewScrollPositionMiddle animated:YES];
任何与该场景等效的YapDatabase
?