MSDatePickerCell 1.1.0

MSDatePickerCell 1.1.0

TestsTested
LangLanguage SwiftSwift
License MIT
ReleasedLast Release Feb 2017
SwiftSwift Version 3.0
SPMSupports SPM

Maintained by owner.



  • By
  • masashi-sutou

MSDatePickerCell

Overview

DatePickerStyle

.ymd .ym .md

Requirement

  • Xcode 8
  • Swift 3
  • iOS 8.0 or later

Usage

override func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
  let cell = MSDatePickerCell(style: .ymd) { (date: Date) in
    // Do Something
  }
  return cell
}

override func tableView(_ tableView: UITableView, heightForRowAt indexPath: IndexPath) -> CGFloat {
  return MSDatePickerCell.preferredHeight()
}

Licence

MSDatePickerCell is available under the MIT license. See the LICENSE file for more info.