Simple drop-down menu selection UI with TableView
This component is using in 'ProtoPie Player'
Just download RNDropDownTableView.swift file and use it!
@IBInspectable var cellBackgroundColor: UIColor = .white //Cell background color
@IBInspectable var cellHighlightedColor: UIColor = .white //Cell color when highlighted
@IBInspectable var duration: Double = 0.2 //Duration of TableView opening/closing
@IBInspectable var delay: Double = 0 //Delay of TableView opening/closing
var animationOptions: UIView.AnimationOptions = .init() //Easing options of Tableview opening/closing
var completion: ((Bool) -> Void)? = nil //Completion of Tableview opening/closing
var dropDownArrowFrame: CGRect = .zero //It is for give specific position of row 0 to open drop down
func typeDidSelected(_ tableView: RNDropDownTableView, _ indexPath: IndexPath)
Ryan Kwon, planon21@gmail.com
RNDropDownTableView is available under the MIT license. See the LICENSE file for more info.