swift声明属性为某个类型同时遵循某协议

swift声明属性为某个类型同时遵循某协议

var instanse:(协议A & 类B)

原文地址:https://www.cnblogs.com/duzhaoquan/p/11338661.html