在出现警告的类的.m文件中加入如下代码:#pragma GCC diagnostic ignored "-Wundeclared-selector"
出现Category is implementing a method which will also be implemented by its primary class警告的处理方法:加入#pragma clang diagnostic ignored "-Wobjc-protocol-method-implementation"
在出现警告的类的.m文件中加入如下代码:#pragma GCC diagnostic ignored "-Wundeclared-selector"
出现Category is implementing a method which will also be implemented by its primary class警告的处理方法:加入#pragma clang diagnostic ignored "-Wobjc-protocol-method-implementation"