天天看点

Xcode编译警告Assigning to 'id<XXXDelegat> ——Nullable' from incompatible type 'XXXView *const_strong'...

编译报警告

Xcode编译警告Assigning to 'id<XXXDelegat> ——Nullable' from incompatible type 'XXXView *const_strong'...

可能是 自定义分类使用协议时出现与父类协议的冲突

解决方法如下:

Xcode编译警告Assigning to 'id<XXXDelegat> ——Nullable' from incompatible type 'XXXView *const_strong'...

转载于:https://www.cnblogs.com/lxlx1798/p/7008576.html