MMPickerView

class MMPickerView : UIView, UIPickerViewDataSource, UIPickerViewDelegate

Undocumented

  • Undocumented

    Declaration

    Swift

    static var shareView = Bundle.main.loadNibNamed("MMPickerView", owner: nil, options: nil)![0] as! MMPickerView
  • Undocumented

    Declaration

    Swift

    var selectedItemIndex : Int?
  • Undocumented

    Declaration

    Swift

    required init?(coder aDecoder: NSCoder)
  • Undocumented

    Declaration

    Swift

    override func observeValue(forKeyPath keyPath: String?, of object: Any?, change: [NSKeyValueChangeKey : Any]?, context: UnsafeMutableRawPointer?)
  • Undocumented

    Declaration

    Swift

    override func draw(_ rect: CGRect)
  • Undocumented

    Declaration

    Swift

    func pickerView(_ pickerView: UIPickerView, numberOfRowsInComponent component: Int) -> Int
  • Undocumented

    Declaration

    Swift

    func numberOfComponents(in pickerView: UIPickerView) -> Int
  • Undocumented

    Declaration

    Swift

    func pickerView(_ pickerView: UIPickerView, titleForRow row: Int, forComponent component: Int) -> String?
  • Undocumented

    Declaration

    Swift

    class func presentView(viewController : UIViewController, isDatePicker : Bool, configureBlock : (_ titleLable : UILabel, _ doneButton : UIButton, _ pickerView : UIPickerView, _ datePicker : UIDatePicker)->Void)
  • Undocumented

    Declaration

    Swift

    class func instanceFromNib() -> MMPickerView
  • Undocumented

    Declaration

    Swift

    @IBAction func doneBtn(sender: UIButton)