Let's say I have a tabbed application in which each tab displays different categories of similar data (eg. Tab1: "Cat Pictures", Tab2: "Dog Pictures", Tab3: "Horse Pictures", etc...).

The view controllers for each tab present data identically. The only differences are the title property of the vc and the parameters of the method that fetches the data. So what are the pros and cons of the following options:

* Create one ViewController master with the (limited) branching
 logic for each category.
* Create a ViewController
 superclass and several subclasses for the different category types.

**EDIT**

So to clarify "the parameters of the method that fetches the data": the fetch method could look like:

```
-(void)fetchDataForType:(NSString*)type {
       if ([type isEqual:@"cat"])
           // fetch cat pics
       if ([type isEqual:@"dog"])
           // fetch dog pics
       ...
 }

```