3 Replies Latest reply: Feb 13, 2013 9:06 AM by etresoft
bubuzzz Level 1 Level 1 (0 points)

Hi all,


I am binding my TableView into an NSArrayController. Now, when I want to clear the table view, I need to empty the array controller


[[myArrayController content]removeObjects];


and reload the view


[myTableView reloadData];


However, when I do that, the rows are still in the view ( I can select a row) but they are blank. Even the scroll bar is still there. Is there any way to totally refresh the  view to the initial state?

MacBook Pro with Retina display, OS X Mountain Lion (10.8.2)