I'm used to using TableViewController in a storyboard whose class directly inherits from UITableViewController and performs the following functions:
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *) - (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section
exist by default, and you just need to implement them. But now I use the ViewController (inherited from the UIViewController) in the storyboard and using the UITableView control from the object library to the view controller by dragging and dropping. Obviously, the class that I would connect to my storyboard, the ViewController will be inherited from the UIViewController. Now how can I interact with table cells in a UITableView control in a view controller. Want to implement the same string functions above.
source share