Closed tomaskraina closed 9 years ago
Which version of XCode and Base SDK are you using?
Xcode 6.3.1
, Base SDK 8.0
I wasn't able to repro since I only have Base SDK 8.1 and above, and all seems fine.
If you're using Swift, you should definitely upgrade to Swift 2.0, included in XCode 6.3 and use Base SDK 8.3.
Sorry, that was incorrect. I'm using Base SDK 8.3
and Swift 1.2
. Only deployment target
is 8.0
.
I'll try different settings to see if it will disappear or not.
Keep me posted.
@tomaskraina What was the outcome of this? I'm seeing the same thing with XCode 6.3.1, Swift 1.2, and Base SDK 8.3.
Were you able to get rid of those warnings? Thanks.
Got these two warnings also. I guess that they may relate to the NS_REQUIRES_SUPER attribute.
There is no equivalent of __attribute((objc_requires_super))
(a.k.a NS_REQUIRES_SUPER
) in Swift.
I'm not sure how to fix this, except for waiting for Swift 1.3 and hoping that this attributes is somehow added in a compatible way with Objective-C.
This is a friendly warning from what I can tell, and it shouldn't cause any issues. Although, if you don't like having useless warnings in your projects (like I do), simply fork the repo and remove the macro on those methods. Remember to still call for super in those methods, as it is important to assure a good functioning of the library.
It doesn't make much sense to remove it because of Swift limitations, while Objective-C users might still need the warning about requiring super in their implementations.
Compiling SlackTextViewController, installed with CocoaPods, emits the following warning:
This warning is presented even though I don't override
scrollViewShouldScrollToTop
anywhere in my project.Removing the following line from
SLKTextViewController.h
fixes the warning: