NSTableView - programatic display of values in a long table view
-
02-10-2019 - |
Question
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:.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow