NSObject-AutoDescription icon indicating copy to clipboard operation
NSObject-AutoDescription copied to clipboard

dispatch_get_current_queue() is deprecated

Open komocode opened this issue 10 years ago • 2 comments

NSObject+AutoDescription.m Line 29

    dispatch_queue_t currentQueue = dispatch_get_current_queue();

komocode avatar May 14 '14 23:05 komocode

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

djmadcat avatar May 15 '14 09:05 djmadcat

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.

albsala avatar Jul 30 '14 14:07 albsala