         if let
             delegate = self.delegate,
             let infoOfDateUserSelected = dateInfoFromPath(indexPath),
-            let cell = collectionView
-                .cellForItem(at: indexPath) as? JTAppleDayCell,
-            cellWasNotDisabledOrHiddenByTheUser(cell) {
+            let cell = collectionView.cellForItem(at: indexPath) as? JTAppleDayCell, cellWasNotDisabledOrHiddenByTheUser(cell) {
             let cellState = cellStateFromIndexPath(indexPath,
                 withDateInfo: infoOfDateUserSelected)
-            return delegate.calendar(
-                self,
-                canSelectDate: infoOfDateUserSelected.date,
-                cell: cell.view!,
-                cellState: cellState
-            )
+            return delegate.calendar(self, canSelectDate: infoOfDateUserSelected.date, cell: cell.view!, cellState: cellState)
         }
         return false
     }

                    }
                }
                delegate.calendar(self, didDeselectDate: dateInfoDeselectedByUser.date, cell: selectedCell?.view, cellState: cellState)
                
            }
    }


                let dateInfoDeselectedByUser = dateInfoFromPath(indexPath) {
                // Update model
                deleteCellFromSelectedSetIfSelected(indexPath)
                var pathsToReload = indexPathsToReload
                let selectedCell = collectionView.cellForItem(at: indexPath) as? JTAppleDayCell
                if selectedCell == nil {
                    pathsToReload.append(indexPath)
                }
                // Cell may be nil if user switches month sections
                // Although the cell may be nil, we still want to
                // return the cellstate
                let cellState = cellStateFromIndexPath(indexPath, withDateInfo: dateInfoDeselectedByUser, cell: selectedCell)
                let deselectedCell = deselectCounterPartCellIndexPath(indexPath, date: dateInfoDeselectedByUser.date, dateOwner: cellState.dateBelongsTo)
                if let unselectedCounterPartIndexPath = deselectedCell {
                    deleteCellFromSelectedSetIfSelected(
                        unselectedCounterPartIndexPath)
                    // ONLY if the counterPart cell is visible,
