Closed misteral closed 7 years ago
Hey @misteral, thanks for the PR, really! 👍 Can you update the README, showcasing this new method?
@squimer what do you think?
Thanks @misteral, i'll take a look tomorrow.
In the mean time... This pull request made me wonder, do you guys think is a good idea to move all the parameters to variables and add a delegate? It would look more like how the default components behave.
Something like:
let datePicker = DatePicker()
datePicker.title = "Pick your date"
datePicker.defaultDate = Date()
datePicker.mode = .dateAndTime
datePicker.delegate = self
datePicker.show()
@lfarah, thanks, welcome. README was updated in PR, please describe if any additionals is necessary.
@viniciussoares please merge if you also approve
@viniciussoares we could add Delegation.... Please open an issue regarding this
Hi, in my case 'Cancel' button not useful. Created optional flag in the class init.