I am fairly new to OS X Cocoa programming but have decided to give it a go with the new Swift language.
I have an NSTableView with 1500
I've got a similar problem. I'm also new to Swift and Apple development in general. My project was working well until I started adding a 1000 or more rows.
After some playing around, I've narrowed the issue down to the way that my dictionary based data source is being accessed. This might point you in the right direction.
func tableView(tableView: NSTableView, objectValueForTableColumn tableColumn: NSTableColumn?, row: Int) -> AnyObject? {...
return myDictionary.values.array[row] //-- this makes access very slow, jerky with pauses
return myDictionary[someKey] //-- this makes access a lot faster, smooth and slick
Looks like my data source needs some re-work. It still hasn't been tested with large quantities of data, but at the outset seems to make a significant difference.