patchthecode / JTAppleCalendar

The Unofficial Apple iOS Swift Calendar View. Swift calendar Library. iOS calendar Control. 100% Customizable
https://patchthecode.com
MIT License
7.57k stars 812 forks source link

How to select a range of Dates from and to #101

Closed errabelli09 closed 8 years ago

errabelli09 commented 8 years ago

IMPORTANT:

Make sure you have checked the following BEFORE creating this issue:

  1. Are you using the latest version of JTAppleCalendar? Latest version is currently 4.1.4
  2. Did you leave a ★ rating on this repository if you like it? Yea.. I kinda need that. Get's me all pumped to answer questions/bugs.
  3. Did you check the Wiki page to see if your question is already answered? --> https://github.com/patchthecode/JTAppleCalendar/wiki

If you've already done the above, then delete this text, and start your issue.

patchthecode commented 8 years ago

by using this function -> public func selectDates(from startDate:NSDate, to endDate:NSDate, triggerSelectionDelegate: Bool = true, keepSelectionIfMultiSelectionAllowed: Bool = false)

errabelli09 commented 8 years ago

Thanks patchthecode