Display alert message if button is pressed when no tableView cells selected
问题 I have a tableView that has multiple selections enabled for the cells. The TableViewController also contains a navigation bar with a BarButtonItem. When this button is selected another UITableViewController is opened. I would like to add a parameter where if no selections are made to the UITableView than the nextButton will trigger an alert message saying that the user must select a row or more. How can something like this be done? Currently, in the didSelectRowAt method, I have a checkmark