Search code examples
objective-ccocoamacosnstableviewnscell

NSTableView - programatic display of values in a long table view


Ok, so I am creating an iTunes overlay for a client. My question is, with a given index, how am I able to move the displayed cells/cells in a row to a specific entry in the table view, programatically.

In other words, replicating iTunes when you are on a playlist it jumps in its table view to the next song if the table view (strictly the playlist) has enough entries in it to warrant this jump!


Solution

  • See NSTableView's -scrollRowToVisible:.