Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/muyexi/StaticTableViewController
Dynamically hide / show cells of static UITableViewController
https://github.com/muyexi/StaticTableViewController
swift uitableviewcontroller
Last synced: 6 days ago
JSON representation
Dynamically hide / show cells of static UITableViewController
- Host: GitHub
- URL: https://github.com/muyexi/StaticTableViewController
- Owner: muyexi
- License: mit
- Created: 2016-08-31T09:22:40.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2022-04-29T12:54:23.000Z (over 2 years ago)
- Last Synced: 2024-11-16T01:48:16.361Z (27 days ago)
- Topics: swift, uitableviewcontroller
- Language: Swift
- Homepage:
- Size: 51.8 KB
- Stars: 25
- Watchers: 4
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-ios - StaticTableViewController - Dynamically hide / show cells of static UITableViewController. (UI / Table View / Collection View)
- awesome-ios-star - StaticTableViewController - Dynamically hide / show cells of static UITableViewController. (UI / Table View / Collection View)
README
[![CocoaPods](https://img.shields.io/cocoapods/v/StaticTableViewController.svg)](https://img.shields.io/cocoapods/v/StaticTableViewController.svg)
[![SPM](https://img.shields.io/badge/SPM-supported-DE5C43.svg?style=flat)](https://swift.org/package-manager/)
[![Carthage Compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)
[![license](https://img.shields.io/github/license/mashape/apistatus.svg?maxAge=2592000)](https://github.com/muyexi/StaticTableViewController/blob/master/LICENSE)Dynamically hide / show cells of static UITableViewController, Swift Port of [StaticDataTableViewController](https://github.com/peterpaulis/StaticDataTableViewController).
## Installation
### CocoaPods
```ruby
pod 'StaticTableViewController'
```### Swift Package Manager
```swift
dependencies: [
.Package(url: "https://github.com/muyexi/StaticTableViewController.git", majorVersion: 0)
]
```## Usage
Show/hide cells with outlet connections
```swift
cell(outletStaticCell1, hidden: true)
cells([outletStaticCell1, outletStaticCell2], hidden: true)reloadDataAnimated(true)
```## License
StaticTableViewController is released under the MIT license. See LICENSE for details.