Skip to content

Dynamically hide / show cells of static UITableViewController

License

Notifications You must be signed in to change notification settings

muyexi/StaticTableViewController

Repository files navigation

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

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published