Following a tutorial exactly, I created files that extend UITableViewController. The problem is that his uitableviewcontroller.m files is filled with pre written code (like the viewDidLoad), while mine is completely blank! Both our uitableviewcontroller.h files all have the code of
#import <UIKit/UIKit.h>
@interface ChemTable : UITableViewController
@property (strong,nonatomic)NSMutableArray *Chemarray;
@end
For learning purpose the auto-generated method are of least use(its perfectly ok even if You remove it). even you can create app without them…..”viewDidLoad” is the one very necessary method that runs when the view is loaded, but when you go for real apps you will surely use some of auto-generated methods.
Extra –>I think you also also should see this:
ViewDidLoad – Called when you create the class and load from xib. Great for initial setup and one-time-only work