muyexi / StaticTableViewController

Dynamically hide / show cells of static UITableViewController

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Dynamically hide / show cells of static UITableViewController

License:MIT License


Languages

Language:Swift 95.0%Language:Ruby 5.0%