My NSTableCellView
is subclassed and storing a pointer to an Object. I want to get access to that pointer and the only information I've got is the row
number as NSInteger
.
How do I access an NSTableCellView
from my tableView
with a given row
?
OK got it:
NSTableCellView *selectedCell = [tableView viewAtColumn:selectedColumn
row:selectedRow
makeIfNecessary:NO];
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With