I use Tab for gestures in a UITableView cell, but the following error occurs.
"Unable to call value of non-function type" UITableView! "I use the following code that I inherited from a previous Objective-C project:
var p: CGPoint = sender.locationInView(self.tableView) var indexPath: NSIndexPath = self.tableView(forRowAtPoint:p) var buttonTag: Int = indexPath.row var selectView = self.storyboard?.instantiateViewControllerWithIdentifier("DropDownSelectionViewController") as? DropDownSelectionViewController var selectWithNaviBar: UINavigationController = UINavigationController(rootViewController: selectView!) if (buttonTag == TEAM_ROW) { getPeoplesWithMenuType(TEAM) }else{ if (buttonTag == OFFICES_ROW) { selectView?.menuName = OFFICES_MENU
I would be grateful if someone could help.
ios uitableview swift
Pandi mani
source share