TestsTested | ✗ |
LangLanguage | SwiftSwift |
License | MIT |
ReleasedLast Release | Jun 2016 |
SPMSupports SPM | ✗ |
Maintained by Nick A.
To run the example project, clone the repo, and run pod install
from the Example directory first.
This is a straightforward library to use - just set your UITableView’s delegate and dataSource to a NAExpandableTableController object and implement the NAExpandableTableViewDataSource & NAExpandableTableViewDelegate protocols.
self.expandableController = NAExpandableTableController(dataSource: self, delegate: self)
self.tableView.dataSource = self.expandableController
self.tableView.delegate = self.expandableController
Voila!
It’s important to retain the expandableController object reference for your UITableView’s dataSource & delegate otherwise it will be deallocated once it goes out of scope and your tableView will be empty.
NAExpandableTableController is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "NAExpandableTableController"
Nick A, narciero
NAExpandableTableController is available under the MIT license. See the LICENSE file for more info.