{"action":"created","issue":{"url":"https://api.github.com/repos/slackhq/SlackTextViewController/issues/173","labels_url":"https://api.github.com/repos/slackhq/SlackTextViewController/issues/173/labels{/name}","comments_url":"https://api.github.com/repos/slackhq/SlackTextViewController/issues/173/comments","events_url":"https://api.github.com/repos/slackhq/SlackTextViewController/issues/173/events","html_url":"https://github.com/slackhq/SlackTextViewController/issues/173","id":70669656,"number":173,"title":"Compiler warning: Parameter of 'scrollViewShouldScrollToTop' has different optionality than expected by protocol 'UIScrollViewDelegate'","user":{"login":"tomaskraina","id":198316,"avatar_url":"https://avatars.githubusercontent.com/u/198316?v=3","gravatar_id":"","url":"https://api.github.com/users/tomaskraina","html_url":"https://github.com/tomaskraina","followers_url":"https://api.github.com/users/tomaskraina/followers","following_url":"https://api.github.com/users/tomaskraina/following{/other_user}","gists_url":"https://api.github.com/users/tomaskraina/gists{/gist_id}","starred_url":"https://api.github.com/users/tomaskraina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomaskraina/subscriptions","organizations_url":"https://api.github.com/users/tomaskraina/orgs","repos_url":"https://api.github.com/users/tomaskraina/repos","events_url":"https://api.github.com/users/tomaskraina/events{/privacy}","received_events_url":"https://api.github.com/users/tomaskraina/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-04-24T11:51:19Z","updated_at":"2015-05-06T11:23:58Z","closed_at":"2015-04-25T03:13:46Z","body":"Compiling SlackTextViewController, installed with CocoaPods, emits the following warning:\r\n\r\n```\r\n./MyApp/__ObjC.SLKTextViewController:292:14: Parameter of 'scrollViewShouldScrollToTop' has different optionality than expected by protocol 'UIScrollViewDelegate'\r\n```\r\n![xcode warning screenshot](https://cloud.githubusercontent.com/assets/198316/7318139/7d2e314a-ea80-11e4-9c5a-0212ab814079.png)\r\n\r\nThis warning is presented even though I don't override `scrollViewShouldScrollToTop` anywhere in my project.\r\n\r\nRemoving the following line from `SLKTextViewController.h` fixes the warning:\r\n\r\n```objc\r\n- (BOOL)scrollViewShouldScrollToTop:(UIScrollView *)scrollView NS_REQUIRES_SUPER;\r\n```"},"comment":{"url":"https://api.github.com/repos/slackhq/SlackTextViewController/issues/comments/99422025","html_url":"https://github.com/slackhq/SlackTextViewController/issues/173#issuecomment-99422025","issue_url":"https://api.github.com/repos/slackhq/SlackTextViewController/issues/173","id":99422025,"user":{"login":"hankbao","id":756604,"avatar_url":"https://avatars.githubusercontent.com/u/756604?v=3","gravatar_id":"","url":"https://api.github.com/users/hankbao","html_url":"https://github.com/hankbao","followers_url":"https://api.github.com/users/hankbao/followers","following_url":"https://api.github.com/users/hankbao/following{/other_user}","gists_url":"https://api.github.com/users/hankbao/gists{/gist_id}","starred_url":"https://api.github.com/users/hankbao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hankbao/subscriptions","organizations_url":"https://api.github.com/users/hankbao/orgs","repos_url":"https://api.github.com/users/hankbao/repos","events_url":"https://api.github.com/users/hankbao/events{/privacy}","received_events_url":"https://api.github.com/users/hankbao/received_events","type":"User","site_admin":false},"created_at":"2015-05-06T11:23:58Z","updated_at":"2015-05-06T11:23:58Z","body":"Got these two warnings also. I guess that they may relate to the NS_REQUIRES_SUPER attribute."}}