-
-
Notifications
You must be signed in to change notification settings - Fork 602
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support both Swift 3.x and Swift 4 #457
Conversation
Please review @Quick/core 🙏 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me! Just that one line that could be better documented.
Sources/Nimble/DSL+Wait.swift
Outdated
@@ -11,6 +11,8 @@ private enum ErrorResult { | |||
/// bridges to Objective-C via the @objc keyword. This class encapsulates callback-style | |||
/// asynchronous waiting logic so that it may be called from Objective-C and Swift. | |||
internal class NMBWait: NSObject { | |||
#if (os(macOS) || os(iOS) || os(tvOS) || os(watchOS)) && !SWIFT_PACKAGE |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems like the kind of line we should document?
…watchOS)) && !SWIFT_PACKAGE` check [ci skip]
Thanks for your review and the feedback @ashfurrow! I added a comment in 2f28fd3. Feel free to update it if it is insufficient or poor english 🙏 Merging. |
Support both Swift 3.x and Swift 4
Similar to Quick/Quick#735.