Xcode编译警告Assigning to 'id<XXXDelegat> ——Nullable' from incompatible type 'XXXView *const_strong' 编译报警告 可能是 自定义分类使用协议时出现与父类协议的冲突 解决方法如下: