TestsTested | ✗ |
LangLanguage | SwiftSwift |
License | MIT |
ReleasedLast Release | Oct 2015 |
SPMSupports SPM | ✗ |
Maintained by Karry Oberes.
import TableCellPicker
// Add the following in viewDidLoad:
// To set the desired normal & expanded cell height
TableCellPicker.normalHeight = 40
TableCellPicker.expandedHeight = 201
// To set the picker view properties
TableCellPicker.setPickerBackgroundColor = UIColor.clearColor()
TableCellPicker.setPickerFontStyle = UIFont(name: "Chalkduster", size: 15)!
TableCellPicker.setPickerTextColor = UIColor.blueColor()
TableCellPicker.setPickerTextAlignment = NSTextAlignment.Center
// To register the nib of the custom cell first
let nibBundle = NSBundle(forClass: TableCellPicker.self)
let cellNib = UINib(nibName: CELL_ID, bundle: nibBundle)
tblView.registerNib(cellNib, forCellReuseIdentifier: CELL_ID)
// Fill-in the code for the TableView functions
// See sample code on the Example Project
Run the Example Project to see the whole sample code on how to use the TableCellPicker pod in a project.
TableCellPicker is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "TableCellPicker"
TableCellPicker is available under the MIT license. See the LICENSE file for more info.