ios - Dispatch on main queue, type issues? -


i've been using code few months:

dispatch_async(dispatch_get_main_queue(), ^{    //                    }); 

but in new target warning dispatch_get_main_queue returns dispatch_queue_s when in fact need dispatch_queue_t. however, code works.

is problem? if so, easiest solution?


Comments

Popular posts from this blog

vb.net - Alternative to the T-SQL AS keyword -

php - MySQLi binding parameters in a prepared statement doesn't work unless inserted after "WHERE" -

ios - CFRelease causing crash in iPad application -