HappyToHelpAll

u/HappyToHelpAll


r/iOSProgramming•

Imagine this:

// AbstractTableViewController.h

- (void)configureCell:(UITableViewCell *)cell forIndexPath:(NSIndexPath *)indexPath;

// AbstractTableViewController.m

- (void)configureCell:(UITableViewCell *)cell forIndexPath:(NSIndexPath *)indexPath {
    NSLog(@"If you're seeing this you haven't overriden configureCell");
}

- // Subclass of AbstractTableViewController // SubclassTableViewController.h

#import "CustomCell.h"

- (void)configureCell:(UITableViewCell *)cell forIndexPath:(NSIndexPath *)indexPath;

// SubclassTableViewController.m

- (void)configureCell:(UITableViewCell *)cell forIndexPath:(NSIndexPath *)indexPath {
    ((CustomCe
55

You've reached the end of this feed.