RubyMotion重新加载UITableView的部分
我怎样才能重新加载一个表的特定部分?
[self.tableView reloadSections:[NSIndexSet indexSetWithIndex:indexPath.section] withRowAnimation:UITableViewRowAnimationFade]
我怎么能用ruby的语法来写这样的东西呢?
这里是RubyMotion的语法:
sections = NSIndexSet.indexSetWithIndex(indexPath.section) self.tableView.reloadSections sections, withRowAnimation:UITableViewRowAnimationFade