         
         // Register Class
         self.calendarView.register(CalendarDayCell.self, forCellWithReuseIdentifier: cellReuseIdentifier)
-        
+        self.calendarView.allowsMultipleSelection = allowMultipleSelection
         
         self.addSubview(self.headerView)
         self.addSubview(self.calendarView)

    fileprivate(set) var selectedIndexPaths : [IndexPath] = [IndexPath]()
    fileprivate(set) var selectedDates : [Date] = [Date]()
    
    
    fileprivate var eventsByIndexPath : [IndexPath:[CalendarEvent]] = [IndexPath:[CalendarEvent]]()
    var events : [EKEvent]? {

            return
        }
        
       
        
        self.calendarView.selectItem(at: indexPath, animated: false, scrollPosition: UICollectionViewScrollPosition())
        
        selectedIndexPaths.append(indexPath)
