xCode10: What am I getting an unrecognized selector error? : This code:

    override func viewDidLoad() {
        super.viewDidLoad()
        mqttDataClient.delegate = self
        mqttDataClient.connect()
        let tableRefresh = UIRefreshControl()
        tableView.refreshControl = tableRefresh
        tableRefresh.addTarget(tableView, action: #selector(updateTable), for: .valueChanged)
        tableRefresh.endRefreshing()
    }
    
    @objc func updateTable(){
        print("R")
        mqttDataClient.publish("control", withString: "sendMovieList")
        
    }

crashes with the following error:

> -[UITableView updateTable]: unrecognized selector sent to instance 0x106008a00

I am using xCode 10 on macOS 10.14.  I think I have this set up correctly and I am wondering if it's an issue with the new xCode. I mean the selector is right there, right?