Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/i2097i/srexpandabletableview

A simple expandable table view
https://github.com/i2097i/srexpandabletableview

Last synced: 7 days ago
JSON representation

A simple expandable table view

Awesome Lists containing this project

README

        

ExpandableTableViewExample
==========================

This is a subclass of a ```UITableViewController``` that allows for expandable/collapsable sections.

To use it, simply import the ```SRExpandableTableViewController.h``` and ```SRExpandableTableViewController.m```
files into your xCode project, create a UITableViewController and make it a subclass of the
```SRExpandableTableViewController``` class. Initlialize the datasource with the

```
-(void)setSRExpandableTableViewControllerWithContent:(NSArray *)contentArray andSectionLabels:(NSArray *)labelsArray;
```

method and that's it!

Note: I did utlize some QuartzCore stuff in the class so be sure to link the QuartzCore framework to your
project.