So the question is the subject question - I want to get rid of this warning which is pretty annoying.
Is there a way to make it silent?
Note: I use dispatch_get_current_queue() for debugging purposes only.
You could use the following code to suppress the warnings.
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
dispatch_get_current_queue() // your deprecated calling code
#pragma clang diagnostic pop
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With