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

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

var instanse:(协议A & 类B)

posted @ 2019-08-12 11:22  不停奔跑的蜗牛  阅读(1312)  评论(0编辑  收藏  举报