 	convenience init(title: String) {
 		self.init()
 		_title = title
+		self.contentView = UIView()
 		self.tableView = UITableView()
-		self.contentView = self.tableView
+		self.manualInputView = UIView()
+		self.contentView.layout(self.tableView).edges()
+		self.contentView.layout(self.manualInputView).edges()
+		self.manualInputView.hidden = true
 		self.modalPresentationStyle = .OverCurrentContext
 		self.modalTransitionStyle = .CrossDissolve
 	}

import Material
import SpringIndicator

class ChinachuWUISelectionViewController: MaterialContentAlertViewController, UITableViewDelegate, UITableViewDataSource, NSNetServiceBrowserDelegate, NSNetServiceDelegate {

	// MARK: - Instance fields
	var tableView: UITableView!
	var timeoutAction: [NSNetServiceBrowser: NSTimer] = [:]
	var services: [NSNetService] = []
	var dataSource: [NSNetService] = []


	// MARK: - View initialization
    override func viewDidLoad() {
        super.viewDidLoad()
		self.alertView.divider = true
		self.tableView.registerNib(UINib(nibName: "ChinachuWUIListTableViewCell", bundle: nil), forCellReuseIdentifier: "ChinachuWUIListTableViewCell")
		self.tableView.separatorInset = UIEdgeInsetsZero
		self.tableView.rowHeight = 72
		self.tableView.delegate = self
		self.tableView.dataSource = self
		findLocalChinachuWUI()
    }


		fatalError("init(coder:) has not been implemented")
	}

	// MARK: - Event handler
	func toggleAutoManualWUISelector() {
		self.alertView.divider = !self.alertView.divider
		tableView.hidden = !tableView.hidden
		manualInputView.hidden = !manualInputView.hidden
		if saveAction.hidden {
			saveAction.hidden = false
			self.alertView.rightButtons?.append(saveAction)
		} else {
			saveAction.hidden = true
			self.alertView.rightButtons?.popLast()
		}
	}

	// MARK: - Local mDNS Service browser

