I am working on a iphone app and everything went fine untill I tried to import NSFetchedResultsController.h. when I was typing this Xcode completed it for me. But now it gives the error: NSFetchedResultsController.h file not found.
I included it like this:
#import "NSFetchedResultsController.h"
I looked all over the internet for the answer to this, but nothing works. (and a few things need Xcode 4.3 to work).
I am using Xcode 4.2 on Snow Leopard.
In fact you really don’t need to import the header manually in most cases.
just add Coredata.framework to build phases as below:
Now look at left in project navigator, you see CoreData.framework added. open Header folder and simply you can find NSFetchedResultsController.h.
For testing its existence, you can type:
and voila, code suggestion tells you what you wanted . look at the picture below:
IMPORTANT: this is available only for iOS 3 or higher