I have a simple class:
#import <UIKit/UIKit.h>
#import <CoreData/CoreData.h>
@interface MyTableViewController : UITableViewController
{
@protected
NSFetchedResultsController *_fetchedResultsController;
}
One more thing:
#import <UIKit/UIKit.h>
@interface MyChildTableViewController : MyTableViewController
{
}
- (void)someMethod;
The problem is that I cannot use _fetchedResultsControllerin the class MyChildTableViewController. I get a compile-time error: "_fetchedResultsController" uneclared (first use in this function) `
What is wrong here?
source
share