天天看點

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