FlexibleTable written in Swift. You can add customizable header view to table easily.
- iOS 10.0+
- Xcode 11.0+
- Swift 5.0+
FlexibleTable is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'FlexibleTable'
tableView.stickyHeader.view = YourUIView()
tableView.stickyHeader.height = 300
tableView.stickyHeader.minimumHeight = 100
If you want to add default mask
tableView.stickyHeader.maskColor = UIColor.black.withAlphaComponent(0.7)
If you want to add your custom mask view instead of maskColor
tableView.stickyHeader.maskView = YourMaskView()
FTDelegate Protocol
func didMaskViewAlphaChange(alpha: CGFloat)
FTDelegate Closure
var didMaskViewAlphaChange: ((CGFloat) -> Void)?
Yusuf Demirci, [email protected]