XCode Navigation-based application template 1. In Xcode, choose New Project from the File menu. 2. Select the Navigation-based Application template project and click Choose. 3. Specify a name and location for the project and click Save.RootViewController : datasource, delegateMyTableViewAppDelegate : applicationdelegateMainWindow.xib:RootViewController.xib:
root view controller’s nib for view document window Root View Controller object . NIB Name RootViewController . root view controller root view controller NIB Name RootViewController.Nib .
RootViewController.xib RootViewController table view , File’s Owner (RootViewController) . tableView (UITableViewController Class) Returns the table view managed by the controller object. @property(nonatomic, retain) UITableView *tableView view property inherited from UIViewControllerTableView propertydataSourceThe object that acts as the data source of the receiving table view.@property(nonatomic, assign) id<UITableViewDataSource> dataSourceDiscussionThe data source must adopt the UITableViewDataSource protocol. The data source is not retained. RootViewControllerdelegate Table View propertyThe object that acts as the delegate of the receiving table view. TableView dataSource protocol delegate protocol@property(nonatomic, assign) id<UITableViewDelegate> delegate RootViewController .DiscussionThe delegate must adopt the UITableViewDelegate protocol. The delegate is not retained.