Skip to content
MSDatePickerCell is customized UITableViewCell for datePickerView.
Swift Ruby Objective-C
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Demo
MSDatePickerCell.xcodeproj
MSDatePickerCell
demo_images
.gitignore
LICENSE
MSDatePickerCell.podspec
README.md

README.md

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()
}

Installation

CocoaPods

Add the following line to your Podfile:

use_frameworks!

target 'YOUR_TARGET_NAME' do
  pod "MSDatePickerCell"
end

Carthage

Add the following line to your Cartfile:

github "masashi-sutou/MSDatePickerCell"

Licence

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

You can’t perform that action at this time.