zl程序教程

您现在的位置是:首页 >  其它

当前栏目

‘weak‘ must not be applied to non-class-bound ‘TestViewDelegate‘; consider adding a protocol conform

to not be Class must Non protocol Bound
2023-09-14 09:04:14 时间

问题

‘weak’ must not be applied to non-class-bound ‘TestViewDelegate’; consider adding a protocol conformance that has a class bound

请添加图片描述

解决方法:要协议继承自class

请添加图片描述