[swift-users] Serial DispatchQueue and documentation?
Brent Royal-Gordon
brent at architechies.com
Mon Aug 1 17:52:41 CDT 2016
> On Aug 1, 2016, at 3:15 PM, Jon Shier via swift-users <swift-users at swift.org> wrote:
>
> Swifters:
> It seems that in Xcode 8 beta 4, DispatchQueueAttributes was refactored to be DispatchQueue.Attributes but in the process lost the .serial attribute. How are we to create serial queues now? On a related note, where can we find the latest documentation for the Dispatch overlay? The Apple docs don’t have any actual usage information yet, so is there any documentation actually generated from code, like swiftdoc.org does for the standard library?
> Here’s a link to the Apple dev forum regarding the same DispatchQueue issue: https://forums.developer.apple.com/thread/53270
Isn't `serial` the default? If so, you should just be able to pass an empty array literal (`[]`) or omit the `attributes` parameter entirely.
--
Brent Royal-Gordon
Architechies
More information about the swift-users
mailing list