0
编写核心数据应用程序时,Xcode出现错误。我正在关注this tutorial(来自youtube)。Xcode No Visible @interface for NSFetchedResults
在25:50的标记处,我收到Xcode中的错误。
我的代码是:
if (![[self fetchedResultsController]preformFetch:&error]) {
NSLog(@"Error! %@", error);
abort();
}
但我得到一个错误:
No visible @interface for 'NSFetchedResultsController' declares the selector 'preformFetch'
这个错误是什么意思?我该如何解决呢?
好几个小时后我发现它,感觉像个白痴。我拼写了performFetch preformFetch。 IDIOT树桩! – cmdace 2014-10-02 23:52:24