I may not have worded the question right, but I am not sure if what I am asking makes 100% so here goes:-)
In Xcode you can set a @class (name of class) above the @interface in the header file. Is this the same as changing the the UIViewController in the name of the class? See code below:
So is this the same -
@class CoreDataClass;
@interface FlipsideViewController : UIViewController <UITableViewDataSource, UITableViewDelegate>
{
}
//This file declares the UITableView
@property (nonatomic, retain) IBOutlet UITableView *mainTableView;
@property (nonatomic, retain) CoreDataClass *cdc;
As this:
@interface FlipsideViewController : CoreDataClass <UITableViewDataSource, UITableViewDelegate>
{
}
//This file declares the UITableView
@property (nonatomic, retain) IBOutlet UITableView *mainTableView;
@property (nonatomic, retain) NSManagedObjectContext *managedObjectContext;
@end
??
If this is not the same, how is it different and what are advantages to the different implementation?
The Difference is only really asked if they are similar:-)