[swift-users] DispatchQueue extension

Nick Brook nrbrook at gmail.com
Thu Oct 6 14:20:07 CDT 2016


I have an extension on DispatchQueue and I have Objective-C code which uses my swift code, so the DispatchQueue extension is exported to the Swift objective-c header as

@interface OS_dispatch_queue

However, Xcode 8.0 and 8.2b2 both error ‘Cannot find interface declaration for ‘OS_dispatch_queue’’. I’ve reported this as a bug, but is there any way I can stop the code being exported to objective-c in the interim?

Thanks

Nick

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-users/attachments/20161006/e246750c/attachment.html>


More information about the swift-users mailing list