 		sections[indexPath.section].tableView(tableView, accessoryButtonTappedForRowWith: indexPath)
 		trace(indexPath)
 	}
-	
-	// MARK: UIScrollViewDelegate
-	
+}
+
+extension TableViewSectionArray: UIScrollViewDelegate {
 	/// hide keyboard when the user starts scrolling
 	public func scrollViewWillBeginDragging(_ scrollView: UIScrollView) {
 		guard let responder = scrollView.form_firstResponder() else {

		let returnValue = sections[section].tableView(tableView, titleForFooterInSection: section)
		trace(section, returnValue)
		return returnValue
	}
	
	public func tableView(_ tableView: UITableView, viewForHeaderInSection section: Int) -> UIView? {

// MIT license. Copyright (c) 2016 SwiftyFORM. All rights reserved.
import UIKit

public class TableViewSectionArray: NSObject {
	public let sections: [TableViewSection]
	
	public init(sections: [TableViewSection]) {
