Get Updates By E-mail 

Article Written By:
Johann Dowa

Open Source UITableView Management Library That Makes Working With Custom Cells Easier

  •  
  •  
  •  
  •  
  •  

I’ve mentioned a number of great open source projects released by Roman Efimov most recently the iOS 7 inspired zooming menu control RESideMenu.

Here’s another nice library called RETableViewManager from Roman. RETableViewManager makes it very easy to set up custom table views and custom cells, and map your objects to those custom cells.

There’s also a wide variety of included custom components included.

Here is a set of images showing RETableViewManager in action from the readme:

RETableViewManager

And here’s a source code example from the readme showing how easy it is to set up a basic tableview with RETableViewManager:

- (void)viewDidLoad
{
    [super viewDidLoad];

    // Create the manager and assign a UITableView
    //
    _manager = [[RETableViewManager alloc] initWithTableView:self.tableView];

    // Add a section
    //
    RETableViewSection *section = [RETableViewSection sectionWithHeaderTitle:@"Test"];
    [manager addSection:section];

    // Add a string
    //
    [section addItem:@"Just a simple NSString"];

    // Add a basic cell with disclosure indicator
    //
    [section addItem:[RETableViewItem itemWithTitle:"String cell" accessoryType:UITableViewCellAccessoryDisclosureIndicator selectionHandler:^(RETableViewItem *item) {
        NSLog(@"Test: %@", item);
    }]];

    // Custom items / cells
    //
    _manager[@"CustomItem"] = @"CustomCell";

    [section addItem:[CustomItem item]];
}

You can find RETableViewManager on Github here.

A great library for wokring with UITableView’s.


  •  
  •  
  •  
  •  
  •  

Submit A Resource

Have you created a useful tutorial, library or tool for iOS development that you would like to get in front of our 300,000+ monthly page views from iOS developers?

You can submit the url here.

The resources we feel will appeal to our readers the most will be posted on the front page.

Comments