I have a NSTableView and a NSArrayController for the NSTableView.
there is only one column in the table,"name"
at first, user open one file, in the arrayController will be @[@{@"name":@"1"},@{@"name":@"2"}]
after sometime, the user opened another file, now the content of array controller should be @[@{@"name":@"x"},@{@"name":@"y"},@{@"name":@"z"}].
how can I bind the new data to the NSTableView,(not add)?