             // Sweep through all frames from top to bottom
             for point in endPoints {
                 if point.isStart {
+                    let newFrame = point.frame
                     // If collisions, resize and reposition the frames.
                     if !sweepState.isEmpty {
                         if !areCollisions { areCollisions = true }

    let date: DayDate
    // Width of the current day view cell.
    var width: CGFloat {
        return LayoutDefaults.dayViewCellWidth
    }
    // Height of the current day view cells.
    var height: CGFloat {
        return LayoutDefaults.dayViewCellHeight
    }
    // Delegate

        case .cancelled:
            return nil
        case .running, .timeout:
            return backupAlgorithm()
        }
    }
