Sets the selected tab view item to the selected item obtained from the sender.
- macOS 10.0+
Typically the object that sent the message.
sender responds to the
index method, this method invokes that method and selects the tab view item at the specified index.