add readme#1
Conversation
tomvanzummeren
left a comment
There was a problem hiding this comment.
Thanks for creating a screenshot! But I see a little bit of the background behind the Simulator. Please create a new screenshot using Cmd + Shift + 4, followed by pressing the spacebar and then click the Simulator window. Now you get a much nicer screenshot!
| let datePicker = TZDatePicker(dateComponents: dateComponents) | ||
| datePicker.onValueChanged = { | ||
| dateComponents in | ||
| dateComponents |
There was a problem hiding this comment.
First of all, thank you very much for writing the README for me!! Now for the review: why did you add this line? Please remove it.
| @@ -1 +1,41 @@ | |||
| # TZDatePicker | |||
|
|
|||
| is a simple DatePicker that easy to use | |||
There was a problem hiding this comment.
This is not a good sentence and also not the reason I created this pod. I created it because I wanted a date picker with an optional year. Please change this into "This is a replacement for the UIDatePicker, which allows the year to be optional."
|
|
||
| ## Installation | ||
|
|
||
| SwiftTween is available through [CocoaPods](http://cocoapods.org). To install |
| datePicker.onValueChanged = { | ||
| dateComponents in | ||
|
|
||
| print( dateComponents.description ) |
There was a problem hiding this comment.
Remove empty line and change the print() into:
// Handle changed dateComponents
i help you to write a README