0
DispatchQueue.global(attributes:DispatchQueue.GlobalQueuePriority.default).async { () -> Void

I get the error at attributes. It says

(Argument labels(attributes:) does not match any available overloads)

vadian
  • 274,689
  • 30
  • 353
  • 361
sudheer
  • 11
  • 2

1 Answers1

1

That means your implementation is wrong. For Confirmation Press & Hold cmd and click to Get documentation for correct code.

Reference:

How to create dispatch queue in Swift 3

Community
  • 1
  • 1
Abhishek Thapliyal
  • 3,497
  • 6
  • 30
  • 69