         return searchBar
     }
 
+    private func createEmptyLabel() -> UILabel {
+        let label = UILabel(frame: CGRect.zero)
+        label.textAlignment = .center
+        label.text = "Nothing to display"
+        label.font = UIFont(name: "Futura-Medium", size: 20.0)
+        label.textColor       = UIColor.lightGray
+        label.backgroundColor = UIColor.clear
+
+        return label
+    }
+
     private func createLoadingView() -> UIActivityIndicatorView {
         let activityIndicatorView = UIActivityIndicatorView(frame: CGRect.zero)
         activityIndicatorView.activityIndicatorViewStyle = .gray

final class GitHubRepositoryTableViewController: UIViewController {
    fileprivate lazy var repositoryTableView: UITableView = self.createRepositoryTableView()
    fileprivate lazy var repositorySearchBar: UISearchBar = self.createRepositorySearchBar()
    fileprivate lazy var loadingView: UIActivityIndicatorView = self.createLoadingView()

    fileprivate var presenter: GitHubRepositoryPresenter? = nil

        self.navigationItem.rightBarButtonItem = UIBarButtonItem(title: "Clear", style: .plain, target: self, action: #selector(self.didTapClearButton(_:)))
        self.view.addSubview(self.repositoryTableView)
        self.repositoryTableView.tableHeaderView = self.repositorySearchBar
        self.repositoryTableView.addSubview(self.emptyLabel)
        self.view.addSubview(self.loadingView)
    }

