错误:

Duplicate interface definition for class  "类名称"

错误:Duplicate interface definition for class

原因:在工程中有相同的文件或相同的 @interface 类名称

解决办法:

  可以把其中一个 @interface 类名称   标记为分类

   @interface MX (分类名称)     //分类名称可省去,但  ()  不能省去

   @end

相关文章:

  • 2021-09-17
  • 2022-12-23
  • 2022-12-23
  • 2021-05-15
  • 2022-12-23
  • 2022-12-23
  • 2021-07-22
  • 2021-12-05
猜你喜欢
  • 2022-01-03
  • 2022-12-23
  • 2022-12-23
  • 2021-09-12
  • 2022-02-04
  • 2021-12-27
相关资源
相似解决方案