Skip to content
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

Merged
merged 4 commits into from
Aug 29, 2017
Merged

Support both Swift 3.x and Swift 4 #457

merged 4 commits into from
Aug 29, 2017

Conversation

ikesyo
Copy link
Member

@ikesyo ikesyo commented Aug 24, 2017

Similar to Quick/Quick#735.

@ikesyo
Copy link
Member Author

ikesyo commented Aug 27, 2017

Please review @Quick/core 🙏

Copy link
Member

@ashfurrow ashfurrow left a 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.

@@ -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
Copy link
Member

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]
@ikesyo
Copy link
Member Author

ikesyo commented Aug 29, 2017

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.

@ikesyo ikesyo merged commit a5438fa into master Aug 29, 2017
@ikesyo ikesyo deleted the support-swift-4 branch August 29, 2017 00:27
Megal pushed a commit to Megal/Nimble that referenced this pull request Jul 31, 2019
Support both Swift 3.x and Swift 4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants