I have a Swift class that is connected to Objective-C. Even with @discardableResultit, it throws this warning when building in the Objective-C class:
Ignoring the return value of the function declared with the attribute 'warn_unused_result'
Is there any way to silence this? This is in Xcode 8.3 with Swift 3.1 .
source
share