Latest | 1.1.0 |
---|---|
Homepage | https://github.com/masashi-sutou/MSDatePickerCell |
License | MIT |
Platforms | ios 8.0, requires ARC |
Authors |
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.
Latest podspec
{ "name": "MSDatePickerCell", "version": "1.1.0", "summary": "MSDatePickerCell is customized UITableViewCell for datePickerView.", "homepage": "https://github.com/masashi-sutou/MSDatePickerCell", "license": { "type": "MIT", "file": "LICENSE" }, "source": { "git": "https://github.com/masashi-sutou/MSDatePickerCell.git", "tag": "1.1.0" }, "source_files": [ "MSDatePickerCell", "MSDatePickerCell/**/*.{swift}" ], "requires_arc": true, "platforms": { "ios": "8.0" }, "ios": { "frameworks": [ "UIKit", "Foundation" ] }, "authors": { "masashi-sutou": "[email protected]" }, "pushed_with_swift_version": "3.0" }
Tue, 21 Feb 2017 22:20:17 +0000