Swift3.0 中代理的使用方法 一,在视图界面 1.制定协议(不写NSObjectProtocol暂时不会报错,但是写属性是无法写weak) protocol DelegateName:NSObjectProtocol { //