需要添加 @objc 和继承 NSObjectProtocol
如下:
@available(iOS 9.0,*) @objc protocol ETTMsgClassificationDelegate:NSObjectProtocol { func pSelectedClassification(view:ETTMsgClassificationView,model:ETTMsgClassificationCellModel) }
需要添加 @objc 和继承 NSObjectProtocol
如下:
@available(iOS 9.0,*) @objc protocol ETTMsgClassificationDelegate:NSObjectProtocol { func pSelectedClassification(view:ETTMsgClassificationView,model:ETTMsgClassificationCellModel) }