Array controlled table - remove row

Once again, the documentation eludes me. I have a table and I want to delete a row from it using code (not the interface connection option).

Tried remove and removeObject but can’t figure out how to word it so it will work.

I get things like:

unrecognized selector sent to object <LabelDocument @0x4010a3c40: OSAID(43)> (error -10000)

When will this make sense to me?

Ignore that last question…

This worked!

tell refUITable to set numRow to selectedRow()
refUITableArrayController's remove_(numRow)