I need to trigger a function by clicking on a tableViewCell, until now I used @IBAction, but that option is only available with button type (I haven't found another way..) this is the way I now of:
@IBAction func springPrs(_ sender: Any) {
//doing stuff..
}
but now I have an @IBOutlet
@IBOutlet weak var nextTrackCell: nextTableViewCell!
and I want to trigger a function by clicking on it. Any help?