dispatch_get_current_queue() is deprecated
komocode opened this issue · 2 comments
komocode commented
NSObject+AutoDescription.m
Line 29
dispatch_queue_t currentQueue = dispatch_get_current_queue();
djmadcat commented
Yeap!
I'll try to fix this.
Apple recommends not to use dispatch_get_current_queue()
in production code.
https://developer.apple.com/library/mac/documentation/Darwin/Reference/Manpages/man3/dispatch_get_current_queue.3.html
For now you can add pod as below to inhibit this warning:
pod 'NSObject+AutoDescription', '~> 0.1', :inhibit_warnings => true
albsala commented
Could you solve it please? I don't know so well how to do it. dispatch_get_current_queue is deprecated since iOS 6.0 and iOS 8.0 will be shortly released. Thank you.