CocoaPods trunk is moving to be read-only. Read more on the blog, there are 12 months to go.
| TestsTested | ✗ |
| LangLanguage | SwiftSwift |
| License | MIT |
| ReleasedLast Release | Jun 2015 |
| SPMSupports SPM | ✗ |
Maintained by József Vesza.
Framework for expanding table view cells.
Table view infrastructure supporting expanding cells.
Supporting expanding cells is really simple, just follow these two steps:
Your table view cell has to be a sublass of ExpandingTableViewCell. Additionally you must connect the following outlets:
Your table view controller has to be a subclass of ExpandingTableViewController, which will handle the initial setup, and manage the expanding behavior by default.
You can dequeue cells the following way:
override func tableView(tableView: UITableView, cellForRowAtIndexPath indexPath: NSIndexPath) -> UITableViewCell {
let cell = super.tableView(tableView, cellForRowAtIndexPath: indexPath) as! ExampleCell
// customize cell here.
return cell
}For a complete walkthrough, see the included example project.
For the details, see the original project.