{"action":"opened","issue":{"url":"https://api.github.com/repos/JakeLin/Todo/issues/3","labels_url":"https://api.github.com/repos/JakeLin/Todo/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/JakeLin/Todo/issues/3/comments","events_url":"https://api.github.com/repos/JakeLin/Todo/issues/3/events","html_url":"https://github.com/JakeLin/Todo/issues/3","id":75120903,"number":3,"title":"searchDisplayController 在ios8中被弃用后用什么替代呢？","user":{"login":"x1911","id":8219031,"avatar_url":"https://avatars.githubusercontent.com/u/8219031?v=3","gravatar_id":"","url":"https://api.github.com/users/x1911","html_url":"https://github.com/x1911","followers_url":"https://api.github.com/users/x1911/followers","following_url":"https://api.github.com/users/x1911/following{/other_user}","gists_url":"https://api.github.com/users/x1911/gists{/gist_id}","starred_url":"https://api.github.com/users/x1911/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/x1911/subscriptions","organizations_url":"https://api.github.com/users/x1911/orgs","repos_url":"https://api.github.com/users/x1911/repos","events_url":"https://api.github.com/users/x1911/events{/privacy}","received_events_url":"https://api.github.com/users/x1911/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-11T07:28:02Z","updated_at":"2015-05-11T07:28:02Z","closed_at":null,"body":"非常感谢大大无私的奉献，让我学到很多东西，在此有两个小疑问想问问\r\n\r\n在课件提到的两个地方\r\n1，\r\ncontentOffset.y += searchDisplayController!.searchBar.frame.size.height\r\n\r\n2，\r\n    func searchDisplayController(controller: UISearchDisplayController, shouldReloadTableForSearchString searchString: String!) -> Bool {\r\n        fliteredTodos = todos.filter(){$0.title.rangeOfString(searchString) != nil}\r\n        return true\r\n    }\r\n\r\n都提示 searchDisplayController 和 UISearchDisplayController 在IOS8 中被弃用，这里应该如何修改呢？\r\n\r\n谢谢大大"}}