In the libdispatch doc for Swift 3 at https://github.com/apple/swift-evolution/blob/master/proposals/0088-libdispatch-for-swift3.md, is this line"
"Finally, this proposal will introduce additional type safety to dispatch sources. While adding additional DispatchSource subclasses is out of scope for this proposal, it will introduce a new constructor for each dispatch source type."
Do they exist and I'm just missing them? (I see the stubs in the Swift 3 document). The ShapeEdit sample can't be converted to Swift 3 because it's expecting them (I believe 6 times, but it's all the same line of code generated in the Fix-It.)
If anyone has them, can you point me to them? If they exist or are going to show up any day now I won't worry. Is this a radar-able issue?
I’m not sure I fully understand what you’re getting at here, but in Swift 3 you create dispatch sources by calling various ‘make’ functions on DispatchSource itself. For example:
import Dispatch let reader = DispatchSource.makeReadSource(fileDescriptor: 0) let timer = DispatchSource.makeTimerSource()
Share and Enjoy
Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
let myEmail = "eskimo" + "1" + "@apple.com"