Advertisement
Guest User

Untitled

a guest
Aug 26th, 2016
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. dispatch_async(QOS_CLASS_BACKGROUND, {
  2. //time consuming tasks which should not be on main queue
  3. })
  4.  
  5. dispatch_async(dispatch_get_main_queue(), ...
  6.  
  7. dispatch_get_global_queue(QOS_CLASS_USER_INTERACTIVE, 0), {...}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement