Closed blakeperdue closed 9 years ago
@tomaskraina reported this too in https://github.com/slackhq/SlackTextViewController/issues/173 I haven't been able to see it myself tho.
@blakeperdue @tomaskraina did you find a way to get rid of it?
@dzenbot Sadly no. I ended up commenting out the two methods (scrollViewDidScroll
and scrollViewShouldScrollToTop
) to remove the warnings. This is obviously not a good solution but only thing that temporarily worked for me.
I am running xCode 6.3.1 (6D1002) and Swift 1.2. I'm targetting iOS 7.0 and above with my app.
I am using cocoapods to install/use SlackTextViewController. I am seeing two very strange Swift compiler warnings: http://cl.ly/image/1a242j412k0u
/apps/SnapSuggest/ios/SlackTextViewController.SLKTextViewController:296:14: Parameter of 'scrollViewDidScroll' has different optionality than expected by protocol 'UIScrollViewDelegate' /apps/SnapSuggest/ios/UIKit.UIScrollViewDelegate:2:23: Requirement 'scrollViewDidScroll' declared here
and
/apps/SnapSuggest/ios/SlackTextViewController.SLKTextViewController:295:14: Parameter of 'scrollViewShouldScrollToTop' has different optionality than expected by protocol 'UIScrollViewDelegate' /apps/SnapSuggest/ios/UIKit.UIScrollViewDelegate:16:23: Requirement 'scrollViewShouldScrollToTop' declared here
Anyone seen this or have any ideas? Googling these errors didn't turn up anything. Thanks in advance.