DisclosableView
Posted by tom June 25th, 2007
DisclosableView is a particular handy framework, which allows you to collapse and expands subviews on your windows, sheets (actually any NSView – as far as I’m aware). It’s written by Kurt Revis and it’s available on his website: snoize
Cocoa: Deleting multiple NSTableView items
Posted by tom June 20th, 2007
NSIndexSet *selectedSet = [tableView selectedRowIndexes];
unsigned int row = [selectedSet lastIndex];
while (row != NSNotFound)
{
[yourNsMutableArray removeObjectAtIndex:row];
row = [selectedSet indexLessThanIndex:row];
}
