-
** Type *** does not conform to protocol *** **
原因: vc 該 vc 中沒有實現(xiàn) protocol 的 requred func
-
Comparing non-optional value of type '(UIButton) -> ()' to nil always returns true
原因:初始化的時候已經(jīng)確定了不會為nil有勾,想當與在比較 1 != 0 必定成立
var addBtnClick:(_ sender:UIButton) -> () = { _ in }