ios - How can i call search tableview delegate with SQLLite -
i prepared tableview. in screen below, there sqllite db. . search delegate function did not work. var dictionaries = [[string:anyobject]]() // var filtereddogs = [[string:anyobject]]() var searchcontroller: uisearchcontroller! var resultscontroller = uitableviewcontroller() func updatesearchresultsforsearchcontroller(searchcontroller: uisearchcontroller) { self.filtereddogs = self.dictionaries.filter{(dict:[string:anyobject]) -> bool in if dict.lowercasestring.containsstring(self.searchcontroller.searchbar.text!.lowercasestring) { return true } else { return false } } //update results table self.resultscontroller.tableview.reloaddata() } func tableview(tableview: uitableview, cellforrowatindexpath indexpath: nsindexpath) -> uitableviewcell { let cell = tableview.dequeuereusablecellwithidentifier("cell", forindexpath: indexpath) as! rowtableviewcell if t...