预计发生types错误
所以我创build了这个方法:
- (void)addToViewController:(SecViewController *)controller didFinishEnteringItem:(NSString *)item;` <br>
和Xcode
不断给我Expected a type
在SecViewController * Expected a type
错误。 那是什么意思? SecViewController不是一个types?
你必须声明SecViewController
:
@class SecViewController;
…在标题顶部。
注意:不要只是#import
所有使用的标题。 这只会恶化您的标题依赖关系。