I have two similar TableViews which have different appearances like tableView headers,footers, etc but they share same UITableViewDataSource, hence the NSFetchedResultsControllerDelegate, by semantics. Currently I have copy pasted the shared code.
But I have no idea how to properly reuse that common UITableViewDataSource / NSFetchedResultsControllerDelegate code. The NSFetchedResultsControllerDelegate is making use of the tableView and so it requires a (strong?) reference to the tableView.
Could anyone give me a hint how could I resolve my code duplications.
Thanks in advance