can not find interface declaration
来源:互联网 发布:九曲网络 编辑:程序博客网 时间:2024/05/17 00:15
can not find interface of declaration for ‘A’,superclass of ‘B’”
B中明明import了A.h,而且通过command键+鼠标左键,也可以从B中找到A的接口声明。你尝试了各种方法,就是找不到问题出在哪里。而且C同样是A的子类,C和B除了类名外,代码没有任何不同。难道Cocoa限制了一个类的子类数量?一个子类可以继承,第2个就不行?
不用大惊失色。问题在于A中import了B.h,而B又引用了A,这就构成了交叉引用
不过编译器却给出了一个让人混淆不清的提示“找不到父类接口”。
一般头文件就放到.m 文件中
- can not find interface declaration
- 关于一个交叉引用Bug:“can not find interface declaration”
- 关于一个交叉引用Bug:“can not find interface declaration”
- can not find -lXXX
- adduser can not find
- Static Library: Cannot find interface declaration for 'UIImage'
- Cannot find interface declaration for 'NSObject'报错
- can not find ****@x2.png
- js -- can not find module
- ssh spring can not find beans 错误
- struts1 can not find specialed url
- Gradle: error: can not find symbol
- JSTL, Can not find library tag descriptor
- maven 2 Can not find parent:.....
- CTex: can not find psfig.sty
- Qt Error:can not find -lGL
- can not find difinition of a class
- QT can not find –lGL
- linux安装jdk
- 在Eclipse中Debug 为什么显示source not found
- Spring MVC 3 深入总结
- java中abstract怎么使用
- JAVA经典书籍
- can not find interface declaration
- Regular express skill 特殊情况的最短匹配
- Java学习笔记(3):继承
- Bitmap.Config下的 ALPHA_8, ARGB_4444, ARGB_8888, RGB_565
- Android图片处理(Matrix,ColorMatrix)
- 使用Node.js和Redis实现push服务
- POJ 1845 Sumdiv
- JavaSE第九十四讲:Java字符流详解
- 读写文件减少IO次数的方法