I'm following the example Navigation View template with core data in the latest iOS SDK.
In the rootViewController.m
file I see this in the @synthesize line:
@synthesize fetchedResultsController=fetchedResultsController_, managedObjectContext=managedObjectContext_;
Where the header file is:
@private
NSFetchedResultsController *fetchedResultsController_;
NSManagedObjectContext *managedObjectContext_;
}
@property (nonatomic, retain) NSManagedObjectContext *managedObjectContext;
@property (nonatomic, retain) NSFetchedResultsController *fetchedResultsController;
Does this mean that they are both @synthesized (creating getters & setters) but then one is set to equal the other? It also appears that fetchedResultsController
is also a method in the rootViewController.m
file.
This template has changed in this SDK version, i'm following the Apress book More iPhone 3 development and this has really confused matters.