Skip to content

Halenda/NAExpandableTableController

 
 

Repository files navigation

NAExpandableTableController

Version License Platform

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Swift 50.6%
  • Shell 43.9%
  • Ruby 2.8%
  • Objective-C 2.7%