Swift 敏捷的要使用协议/委托从UITableViewController类访问当前func到UITableviewCell类,但发现无
我想使用protocol/delegate方法从UITableViewController类访问UITableViewCell中的当前(viewControllerToPresent:UIViewControllerUIViewController) 我让委托获取当前func,但当应用程序运行时,我得到控制台错误:致命错误:在展开可选函数时发现nil。 这是到目前为止的代码 UITableViewCell UITableViewControllerSwift 敏捷的要使用协议/委托从UITableViewController类访问当前func到UITableviewCell类,但发现无,swift,uitableview,delegates,protocols,uialertview,Swift,Uitableview,Delegates,Protocols,Uialertview,我想使用protocol/delegate方法从UITableViewController类访问UITableViewCell中的当前(viewControllerToPresent:UIViewControllerUIViewController) 我让委托获取当前func,但当应用程序运行时,我得到控制台错误:致命错误:在展开可选函数时发现nil。 这是到目前为止的代码 UITableViewCell UITableViewController