NAExpandableTableController 1.3.0

NAExpandableTableController 1.3.0

TestsTested
LangLanguage SwiftSwift
License MIT
ReleasedLast Release Jun 2016
SPMSupports SPM

Maintained by Nick A.




  • By
  • Nick A

NAExpandableTableController

Demo

Usage

To run the example project, clone the repo, and run pod install from the Example directory first.

How to Use

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!

Note

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.

Installation

NAExpandableTableController is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "NAExpandableTableController"

Author

Nick A, narciero

License

NAExpandableTableController is available under the MIT license. See the LICENSE file for more info.