I have created a view based NSTableView with custom cells. Each cell has an image(from net) in it. On selecting am showing a custom selection indicator(something like a check mark).
When any cell gets clicked it will modify that cell's property called isClicked
to YES
in tableViewSelectionDidChange
delegate. Once done I will make a call to reload table data. While reloading a check is made to see if that cell was selected and if selected the selection indicator image will be displayed.
Until now cell image were from local, but now am using cell image from net. And this is loaded using dispatch async queue
Since table gets reloaded all of these images gets downloaded again, and it sort of flickers on the screen. How can this be avoided ?