FlexibleTable 0.2.0

FlexibleTable 0.2.0

Maintained by Yusuf Demirci.



FlexibleTable

CI Status Version License Platform

FlexibleTable written in Swift. You can add customizable header view to table easily.

Requirements

  • iOS 10.0+
  • Xcode 11.0+
  • Swift 5.0+

Installation

FlexibleTable is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'FlexibleTable'

Usage

tableView.stickyHeader.view = YourUIView()
tableView.stickyHeader.height = 300
tableView.stickyHeader.minimumHeight = 100

alt tag

If you want to add default mask

tableView.stickyHeader.maskColor = UIColor.black.withAlphaComponent(0.7)

alt tag

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)?

Author

Yusuf Demirci, [email protected]