         }
         return height
     }
-    
 }

    fileprivate var needRefreshDynamicLastCellHeight: Bool = true
    fileprivate var dynamicLastCellHeight: CGFloat?
    fileprivate var previousRowFrame = CGRect()
    
    /// Override in subclass, usually by connecting to an IBOutlet collection.
    open var excludedCells: [UITableViewCell]? {

            : super.tableView(tableView, heightForRowAt: superIndexPath(for: indexPath))
        if filledUsingLastCell && indexPath == lastCellIndexPath {
            if isDynamicLastCell {
                if let dynamicLastCellHeight = self.dynamicLastCellHeight, shouldCallHeightForRow {
                    height = dynamicLastCellHeight
                    let currentPreviousRowFrame = tableView.rectForRow(at: IndexPath(row: indexPath.row - 1, section: indexPath.section))
                    // Detect changes on tableView contents after dynamicLastCellHeight is set.
