0
如何重新加载表的特定部分?RubyMotion重新加载UITableView的部分
[self.tableView reloadSections:[NSIndexSet indexSetWithIndex:indexPath.section] withRowAnimation:UITableViewRowAnimationFade]
我该如何用ruby的语法来写这样的东西?
如何重新加载表的特定部分?RubyMotion重新加载UITableView的部分
[self.tableView reloadSections:[NSIndexSet indexSetWithIndex:indexPath.section] withRowAnimation:UITableViewRowAnimationFade]
我该如何用ruby的语法来写这样的东西?
这在RubyMotion语法:
sections = NSIndexSet.indexSetWithIndex(indexPath.section)
self.tableView.reloadSections sections, withRowAnimation:UITableViewRowAnimationFade