StaticTableViewController
  • October 7, 2023

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)

GitHub


View Github

#swift #uitableviewcontroller
YOU MIGHT ALSO LIKE...
ConfettiView

A SwiftUI View that emits confetti with user-defined shapes, images, and text.

SwiftUI Colour Wheel

A colour wheel made all in SwiftUI. There are 2 different colour wheels to choose from. The first main one ...

ColorPickerRing

A color picker implementation with color wheel appearance written in plain SwiftUI. It is compatible with UIColor and NSColor.

ASCollectionView

This repository is no longer maintained. Here's why: with the release of iOS 16 SwiftUI now enables most of the ...