From becdc205bb0af1d12a5f0c7d880f693d4e69acae Mon Sep 17 00:00:00 2001 From: Max Sokolov Date: Sun, 16 Oct 2016 12:22:40 +0300 Subject: [PATCH] fix --- Sources/TablePrototypeCellHeightCalculator.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/TablePrototypeCellHeightCalculator.swift b/Sources/TablePrototypeCellHeightCalculator.swift index 8fce9a8..0f29a6f 100644 --- a/Sources/TablePrototypeCellHeightCalculator.swift +++ b/Sources/TablePrototypeCellHeightCalculator.swift @@ -22,7 +22,7 @@ import UIKit open class TablePrototypeCellHeightCalculator: RowHeightCalculator { - private weak var tableView: UITableView? + private(set) weak var tableView: UITableView? private var prototypes = [String: UITableViewCell]() private var cachedHeights = [Int: CGFloat]() private var separatorHeight = 1 / UIScreen.main.scale