Open apple-avadhesh opened 4 years ago
Though I have provided range it still drags beyond limited range. What's the cause? Let me know if I am doing something wrong here e.g source
calendarWeekView.setupCalendar(numOfDays: visibleCell, setDate: Date(), allEvents: JZWeekViewHelper.getIntraEventsByDate(originalEvents: calendarItems), scrollType: .sectionScroll, scrollableRange: (Date(), Calendar.current.date(byAdding: .day, value: users.count - 1, to: Date()))) calendarWeekView.refreshWeekView()
Though I have provided range it still drags beyond limited range. What's the cause? Let me know if I am doing something wrong here e.g source
calendarWeekView.setupCalendar(numOfDays: visibleCell, setDate: Date(), allEvents: JZWeekViewHelper.getIntraEventsByDate(originalEvents: calendarItems), scrollType: .sectionScroll, scrollableRange: (Date(), Calendar.current.date(byAdding: .day, value: users.count - 1, to: Date()))) calendarWeekView.refreshWeekView()