[swift-users] Serial DispatchQueue and documentation?

Jon Shier jon at jonshier.com
Mon Aug 1 18:34:25 CDT 2016

Is it? I can’t tell by either the generated interface (default is not a useful value to expose) or a brief read of the Queue.swift file for it. 


> On Aug 1, 2016, at 6:52 PM, Brent Royal-Gordon <brent at architechies.com> wrote:
>> 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