Skip to content

meyusufdemirci/FlexibleTable

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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, demirciy94@gmail.com