美文网首页Swift Error
Invalid redeclaration of ‘Produc

Invalid redeclaration of ‘Produc

作者: NoExcuse | 来源:发表于2015-11-02 22:18 被阅读602次

Invalid redeclaration of 'ProductListStruct'
无效的重复声明ProductListStruct,一般是项目里面有两个ProductListStruct。
我在A类里面声明了
struct ProductListStruct {

}

在B类里面声明了
struct ProductListStruct {

}

在swift里面所有的类都不需要引用(oc里面需要#import"
ProductList.h")

相关文章

网友评论

    本文标题:Invalid redeclaration of ‘Produc

    本文链接:https://www.haomeiwen.com/subject/hqyqhttx.html