Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I ran Xcode migration tool. After that, I had to apply some manual changes:
isConcurrent
DispatchQueue
constant. It was confusing for me to see it re-assigned in the initializersgcd.serial()
value to thequeue
constant inline with its declaration inDispatchTimer
sync
andasync
implementations that accept an@autoclosure
callback in theDispatchQueue
class because of how autoclosure works now in Swift 1.2 (in particular,@autoclosure
implies@noescape
, that certainly doesn't work for theasync
method, but seems to not work for thesync
either, due to some issues with thedispatch_sync
(that obviously doesn't mark its parameter with@noescape
or@autoclosure
).@autoclosure
was used before.Let me know if you need something else
16 tests are passing.