0

テーブルの特定のセクションをリロードするにはどうすればよいですか?

[self.tableView reloadSections:[NSIndexSet indexSetWithIndex:indexPath.section] withRowAnimation:UITableViewRowAnimationFade]

ruby の構文でこのようなものを書くにはどうすればよいでしょうか?

4

1 に答える 1

3

これは RubyMotion の構文です。

sections = NSIndexSet.indexSetWithIndex(indexPath.section)
self.tableView.reloadSections sections, withRowAnimation:UITableViewRowAnimationFade
于 2013-03-24T07:32:24.203 に答える