声明一个headerInformationView继承UIView

controller中实现方法

其中在添加headerInformationViewDelegate的时候必须要实现func changeImge(){}方法,否则会提示错误,类似在实现UITableViewDataSource的时候需要实现他的两个必须实现的方法
声明一个headerInformationView继承UIView
controller中实现方法
其中在添加headerInformationViewDelegate的时候必须要实现func changeImge(){}方法,否则会提示错误,类似在实现UITableViewDataSource的时候需要实现他的两个必须实现的方法
本文标题:Swift 委托
本文链接:https://www.haomeiwen.com/subject/tqgcdttx.html
网友评论