set tableView to readonly

This commit is contained in:
Max Sokolov 2016-02-20 17:52:57 +03:00
parent 9d5be1b2ad
commit 619a5962d7
3 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'Tablet'
s.version = '0.2.4'
s.version = '0.2.5'
s.homepage = 'https://github.com/maxsokolov/tablet'
s.summary = 'Powerful type-safe tool for UITableView. Swift 2.0 is required.'

View File

@ -26,7 +26,7 @@ import Foundation
*/
public class TableDirector: NSObject, UITableViewDataSource, UITableViewDelegate {
private weak var tableView: UITableView!
public private(set) weak var tableView: UITableView!
private var sections = [TableSectionBuilder]()
public weak var scrollDelegate: UIScrollViewDelegate?