     open override func viewDidLoad() {
         super.viewDidLoad()
         view.addSubview(tableView)
-        NSLayoutConstraint.constraintsForViewToFillSuperview(tableView).activate()
+        tableViewConstraints = constraintsForViewToFillSuperview(tableView, padding: contentInset, constraintToLayoutGuideOptions: constraintToLayoutGuideOptions).activate()
         setupTableView(forTableView: tableView)
     }
 

        return tableView
    }()

    // MARK: DataSources

    public let composedDataSource = XCTableViewComposedDataSource()

import UIKit

open class XCComposedTableViewController: UIViewController {
    fileprivate var tableViewConstraints = [NSLayoutConstraint]()
    fileprivate var estimatedRowHeightCache = Cache()
    /// Style must be set before accessing `tableView` to ensure that it is applied correctly.
    /// The default value is `.grouped`.
