-
Notifications
You must be signed in to change notification settings - Fork 116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Select range #125
base: master
Are you sure you want to change the base?
Select range #125
Conversation
…when deselecting programatically during delegation
- Changes multipleSelectionEnable bool to multipleSelectionMode enum. Supports and deprecates previous property for non-breaking change - Multiple select, range and single are mutually exclusive. Single and multiple behave as before - Range selection: - When a new selected date is outside of any current selections, all dates in between are selected - When a deselected date is inside of the date range of current selections, all selections are deselected - When the first or last selected date are deselected, just that date is removed from the range - Single dates toggle
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let me know if you have any questions
@@ -28,12 +28,6 @@ import UIKit | |||
import EventKit | |||
#endif | |||
|
|||
struct EventLocation { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this was dead code. Not referenced in the project
@@ -81,7 +81,7 @@ Note: The dates should be in UTC (same as GMT) | |||
|
|||
# How to Use | |||
|
|||
You would want to implement the delegate functions inside your view controller as they appear in the example project. | |||
You would want to implement the delegate functions inside your view controller as they appear in the example project. Don't forget to assign your class as the `CalendarView` delegate. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, that boggled me for a minute in the beginning. The example project set me straight
Enables selecting a range of dates.
Resolves #32 Select a range of dates