ipraba / EPCalendarPicker

Colourful calendar for iOS written in Swift
MIT License
347 stars 73 forks source link

Fix: Select valid date #17

Closed YMonnier closed 8 years ago

YMonnier commented 8 years ago

There was a bug in the selection of a date when we configure multiSelection = false and startDate. We could choose a date before the startDate. This was solved by adding a condition (cell.isCellSelectable).

Best regards, YM

ipraba commented 8 years ago

@YMonnier Thanks a lot for fixing the issue. But your pull request had many other unnecessary lines so i am ignoring this pull request. But i have updated your fix