Skip to content

Latest commit

 

History

History
38 lines (25 loc) · 1.22 KB

README.md

File metadata and controls

38 lines (25 loc) · 1.22 KB

CocoaPods SPM Carthage Compatible license

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.