Awesome
Dynamically hide / show cells of static UITableViewController, Swift Port of StaticDataTableViewController.
Installation
CocoaPods
pod 'StaticTableViewController'
Swift Package Manager
dependencies: [
.Package(url: "https://github.com/muyexi/StaticTableViewController.git", majorVersion: 0)
]
Usage
Show/hide cells with outlet connections
cell(outletStaticCell1, hidden: true)
cells([outletStaticCell1, outletStaticCell2], hidden: true)
reloadDataAnimated(true)
License
StaticTableViewController is released under the MIT license. See LICENSE for details.