Can you suppress deprecation warnings in Swift?

Is it possible to suppress a deprecation warning in Swift code?


Before you tell me to just fix it - the warning we're seeing is because ABCreateStringWithAddressDictionary was deprecated in iOS 9, and the replacement doesn't work with geocoded CoreLocation objects - see https://forums.developer.apple.com/message/14244. If you know how to work around that, I'd love to hear about it. 🙂

That issue's been filed as a bug - but in the meantime, we have this lone warning in our code that's not providing any value. In Objective-C we could use a #pragma to suppress it. Is there any equivalent in Swift?

Can you suppress deprecation warnings in Swift?
 
 
Q