错误:Duplicate interface definition for class

错误:

Duplicate interface definition for class  "类名称"

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

解决办法:

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

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

   @end

posted @ 2014-09-10 12:02  LetGo  阅读(8591)  评论(0编辑  收藏  举报