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

[WIP] Converting to Swift 3 #45

Merged
merged 3 commits into from
Sep 18, 2016
Merged

Conversation

floskel
Copy link
Member

@floskel floskel commented Sep 9, 2016

I have started the process of converting to Swift 3.
This requires RxSwift/RxCocoa to be stable, which won't happen for some weeks.

I have converted the Action project and made it build using the RxSwift develop branch. When proper beta/rc are available we should update to those.

As of 9th of September, the Demo project is not compiling, as the Podfile cannot use a specific branch.

I will keep updating this PR as RxSwift releases new candidates.
Feel free to contribute or comment.

@floskel floskel mentioned this pull request Sep 9, 2016
@ashfurrow
Copy link
Member

💯

return booleanType.boolValue
public init<B: ExpressibleByBooleanLiteral>(enabledIf: Observable<B> = Observable.just(true), workFactory: @escaping WorkFactory) {
self._enabledIf = enabledIf.map { (booleanLiteral) -> Bool in
return booleanLiteral as! Bool
Copy link
Member

@ishkawa ishkawa Sep 10, 2016

Choose a reason for hiding this comment

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

BooleanType has been renamed to Bool.
We can make this initializer non-generic and replace the placeholder type with Bool.

@floskel
Copy link
Member Author

floskel commented Sep 10, 2016

Thanks @ishkawa. Added a few fixes for your comments.

@floskel floskel changed the title Converting to Swift 3 [WIP] Converting to Swift 3 Sep 10, 2016
@ashfurrow ashfurrow merged commit fdd5e7d into RxSwiftCommunity:master Sep 18, 2016
@ashfurrow
Copy link
Member

Thanks a lot for contributing! I've invited you to join the RxSwiftCommunity GitHub organization – no pressure to accept! If you'd like more information on what that means, check out our contributor guidelines and feel free to reach out with any questions.

@floskel
Copy link
Member Author

floskel commented Sep 18, 2016

Thanks 👍

@floskel floskel deleted the swift-3 branch September 18, 2016 18:34
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.

3 participants