Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/masashi-sutou/msdatepickercell
MSDatePickerCell is customized UITableViewCell for datePickerView.
https://github.com/masashi-sutou/msdatepickercell
Last synced: about 1 month ago
JSON representation
MSDatePickerCell is customized UITableViewCell for datePickerView.
- Host: GitHub
- URL: https://github.com/masashi-sutou/msdatepickercell
- Owner: masashi-sutou
- License: mit
- Created: 2017-02-05T22:13:18.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-02-18T04:10:12.000Z (almost 8 years ago)
- Last Synced: 2024-11-19T10:56:49.705Z (about 1 month ago)
- Language: Swift
- Homepage:
- Size: 131 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
MSDatePickerCell
====## Overview
### DatePickerStyle.ymd | .ym | .md
--- | --- | ---
| |## Requirement
- Xcode 8
- Swift 3
- iOS 8.0 or later## Usage
```Swift
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](https://cocoapods.org/)
Add the following line to your Podfile:
```ruby
use_frameworks!target 'YOUR_TARGET_NAME' do
pod "MSDatePickerCell"
end
```#### [Carthage](https://github.com/Carthage/Carthage)
Add the following line to your Cartfile:
```ruby
github "masashi-sutou/MSDatePickerCell"
```## Licence
MSDatePickerCell is available under the MIT license. See the LICENSE file for more info.