I am using a UIViewController with UITableView, it works good, I didn't define <UITableViewDelegate> or <UITableViewDataSource>, but I can use all methods of delegate and data resource.
I tried to find why I can use them, no result, can you tell me the simple reason, why?
I tried to find why I can use them, no result, can you tell me the simple reason, why?
Code:
- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView;
- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section;
- (NSString *)tableView:(UITableView *)tableView titleForHeaderInSection:(NSInteger)section;