草庐IT

DEPFlightStripCellDelegate

全部标签

ios - Swift 委托(delegate)返回 nil

我尝试从UITableViewCell中调用UIAlertController。我有我的代表protocolDEPFlightStripCellDelegate{funccallAlert(AlertCon:UIAlertController!)}我在下面的TableViewCell类中调用了它。classDEPFlightStripCell:UITableViewCell{vardelegate:DEPFlightStripCellDelegate?@IBActionfuncchangeClearedFlightLevel(sender:UIButton){letAddAlert:U