{"action":"created","issue":{"url":"https://api.github.com/repos/groue/GRDB.swift/issues/162","repository_url":"https://api.github.com/repos/groue/GRDB.swift","labels_url":"https://api.github.com/repos/groue/GRDB.swift/issues/162/labels{/name}","comments_url":"https://api.github.com/repos/groue/GRDB.swift/issues/162/comments","events_url":"https://api.github.com/repos/groue/GRDB.swift/issues/162/events","html_url":"https://github.com/groue/GRDB.swift/issues/162","id":200437101,"number":162,"title":"Adding searchbar functionality","user":{"login":"primico","id":6954991,"avatar_url":"https://avatars.githubusercontent.com/u/6954991?v=3","gravatar_id":"","url":"https://api.github.com/users/primico","html_url":"https://github.com/primico","followers_url":"https://api.github.com/users/primico/followers","following_url":"https://api.github.com/users/primico/following{/other_user}","gists_url":"https://api.github.com/users/primico/gists{/gist_id}","starred_url":"https://api.github.com/users/primico/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/primico/subscriptions","organizations_url":"https://api.github.com/users/primico/orgs","repos_url":"https://api.github.com/users/primico/repos","events_url":"https://api.github.com/users/primico/events{/privacy}","received_events_url":"https://api.github.com/users/primico/received_events","type":"User","site_admin":false},"labels":[{"id":230659300,"url":"https://api.github.com/repos/groue/GRDB.swift/labels/question","name":"question","color":"cc317c","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":17,"created_at":"2017-01-12T17:56:51Z","updated_at":"2017-01-12T21:29:09Z","closed_at":"2017-01-12T21:25:52Z","body":"Hi, thanks for the great demo!\r\n\r\nIn PersonsViewController.swift I would like to add a searchbar.\r\nNormally, I would do something like this:\r\n\r\n        self.searchController = UISearchController(searchResultsController: self.resultsController)\r\n        self.tableView.tableHeaderView = self.searchController.searchBar\r\n        self.searchController.searchResultsUpdater = self\r\n\r\nand filter the results here:\r\n\r\n    func updateSearchResultsForSearchController(searchController: UISearchController) {\r\n        // filter here\r\n    }\r\n\r\n\r\nMy question is.. with the FetchedRecordsController, would I do this differently? Or would I use the same approach?"},"comment":{"url":"https://api.github.com/repos/groue/GRDB.swift/issues/comments/272289287","html_url":"https://github.com/groue/GRDB.swift/issues/162#issuecomment-272289287","issue_url":"https://api.github.com/repos/groue/GRDB.swift/issues/162","id":272289287,"user":{"login":"groue","id":54219,"avatar_url":"https://avatars.githubusercontent.com/u/54219?v=3","gravatar_id":"","url":"https://api.github.com/users/groue","html_url":"https://github.com/groue","followers_url":"https://api.github.com/users/groue/followers","following_url":"https://api.github.com/users/groue/following{/other_user}","gists_url":"https://api.github.com/users/groue/gists{/gist_id}","starred_url":"https://api.github.com/users/groue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/groue/subscriptions","organizations_url":"https://api.github.com/users/groue/orgs","repos_url":"https://api.github.com/users/groue/repos","events_url":"https://api.github.com/users/groue/events{/privacy}","received_events_url":"https://api.github.com/users/groue/received_events","type":"User","site_admin":false},"created_at":"2017-01-12T21:29:09Z","updated_at":"2017-01-12T21:29:09Z","body":"If you do, then you may have found a bug. If so, please tell so clearly!"}}
{"actor":{"display_login":"groue"}}