On 2014 May 18, at 14:38, Varun Chandramohan <varun.chandramo...@wontok.com> 
wrote:

> so lets say I avoid [_tableContents removeAllObjects]

Indeed.  I think that the vote in this thread is now about 6 to 0 *against* 
using -removeAllObjects  :)

> Could I do something like this before removing the objects? [ltableView 
> removeRowsAtIndexes:indexes
> withAnimation:NSTableViewAnimationSlideDown];

You don’t need to worry about table rows, Varun.  Remove the row from the data 
model / data source, then invoke -[NSTableView reloadData] which will propagate 
the change into the table.  Table view data sources are wonderful.


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to