我正在使用一个UITableViewController
作为源,目标是带有 UITableView 的 UIViewController。
我想要push from (a) tableViewCell (in a custom cell of a tableview in .xib) to (b) viewController
。自定义单元格在 .xib 文件中指定。我已经尝试控制拖动来创建 segue,但我无法做到这一点。
如何从 customCell 推送到 UIViewController?我努力了
override func tableView(tableView: UITableView, didSelectRowAtIndexPath indexPath: NSIndexPath)
{
print("You selected cell #\(indexPath.row)!")
let destination = FestsViewController()
navigationController?.pushViewController(destination, animated: true)}