 
 import UIKit
 
-class FilterNewsSourcesViewController: UIViewController, UITableViewDataSource, UITableViewDelegate, UISearchResultsUpdating {
+class FilterNewsSourcesViewController: UIViewController, UITableViewDataSource, UITableViewDelegate, UISearchResultsUpdating, UISearchBarDelegate {
 
     struct MainStoryboard {
         struct TableViewCellIdentifiers {

	
    var newsSources = [NewsSources]()
	var filteredTableData = [NewsSources]()

    override func viewDidLoad() {
        super.viewDidLoad()
		

    }
	
	func updateSearchResultsForSearchController(searchController: UISearchController) {
//		#if DEBUG
//            print("updateSearchResultsForSearchController")
//        #endif
		filteredTableData.removeAll(keepCapacity: false)
		
        let searchPredicate = NSPredicate(format: "sourceName like[c] %@", "*" + searchController.searchBar.text! + "*")
