Your object was set as a UITableView data source somewhere. Most likely, creating a connection in InterfaceBuilder, although this is easy to do in code by setting the dataSourceUITableView property :
- (void) setUpMyJunkMan
{
myTableView.dataSource = self;
}
After you set your object as a data source, the table view will call the method as necessary to determine what it needs to do or how it needs to respond to events.
UITableViewDataSource (, InterfaceBuilder, , - , ).
UITableViewDataSource, , @optional. @required; .
. . , .