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

Added Swift 3.2/4.0 Compatibility #480

Merged
merged 4 commits into from
Jan 5, 2018
Merged

Added Swift 3.2/4.0 Compatibility #480

merged 4 commits into from
Jan 5, 2018

Conversation

cocojoe
Copy link
Member

@cocojoe cocojoe commented Dec 12, 2017

@cocojoe cocojoe changed the title Swift 3.2/4 Compatibility Added Swift 3.2/4.0 Compatibility Dec 12, 2017
@@ -27,7 +27,7 @@ struct ObserverStore: Dispatcher {
var onAuth: (Credentials) -> Void = { _ in }
var onFailure: (Error) -> Void = { _ in }
var onCancel: () -> Void = { }
var onSignUp: (String, [String: Any]) -> Void = { _ in }
var onSignUp: (String, [String: Any]) -> Void = { _, _ in }
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what's this?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The is a callback event when a Sign up is successful. The syntax changed here, previously you could just use _ as a convenience to skip multiple parameters. Now you have to be explicit.

@cocojoe
Copy link
Member Author

cocojoe commented Dec 27, 2017

@lbalmaceda We should discuss Public API changes.

@lbalmaceda
Copy link
Contributor

@cocojoe I don't see them. Can you please point them?

Copy link
Contributor

@lbalmaceda lbalmaceda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have discussed this internally and agreed to merge these changes as they are now.

@cocojoe cocojoe merged commit 78a4ec5 into master Jan 5, 2018
@cocojoe cocojoe added this to the v2-Next milestone Jan 10, 2018
@cocojoe cocojoe mentioned this pull request Jan 10, 2018
@cocojoe cocojoe deleted the swift-4 branch June 8, 2018 13:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants