I have set up a simple NSTableView
with 10 columns that display only text.
I have exactly 500 records.
I have tried both using CocoaBindings and NSTableViewDataSource
and in both cases, the scroll is slow when I scroll quickly up or down.
I'm currently working on Sierra and using Swift3.
I have tried to figure out with instrument what was using so much time.
Apparently, a lot of work is done by Core Animation
.
How can I achieve a perfect smooth scrolling using Cell based NSTableView?
The code used can be found here: https://gitlab.com/yageek/iCache.
The file that has been used to feed the data can be retrieve here: https://www.dropbox.com/s/rdqeq6sne3ejdw5/6661544_Strasbourg.gpx?dl=0