CocoaPods trunk is moving to be read-only. Read more on the blog, there are 19 months to go.
TestsTested | ✗ |
LangLanguage | SwiftSwift |
License | MIT |
ReleasedLast Release | Dec 2014 |
SPMSupports SPM | ✗ |
Maintained by Denis Prokopchuk.
Table and scroll view with transparent top and bottom edges. Written in Swift
// Create instance of DPTransparentEdgesTableView or DPTransparentEdgesScrollView
let tableView = DPTransparentEdgesTableView(frame: CGRectMake(0, 20, view.frame.size.width, view.frame.size.height - 20))
// Set factor that describe length of the gradient
// length = viewHeight * gradientFactor
tableView.gradientLengthFactor = 0.3
// Start use table
tableView.delegate = self
tableView.dataSource = self
view.addSubview(tableView)
DPTransparentEdgesTableView is available through CocoaPods.
To install add the following line to your Podfile:
pod 'DPTransparentEdgesTableView'