Skip to content

Conversation

esttorhe
Copy link
Member

@esttorhe esttorhe commented Jan 6, 2016

This brings support for RxSwift 2.0

@esttorhe esttorhe mentioned this pull request Jan 6, 2016
@esttorhe
Copy link
Member Author

esttorhe commented Jan 6, 2016

would love if some @RxSwiftCommunity/contributors would give this the thumbs up; if no one feels comfortable enough i'd merge and release a new version tomorrow though.

@thanegill
Copy link
Member

Is it best practice to commit the Pods directory? (I'm genuinely asking. I personally don't but it could be the thing to do.)

@esttorhe
Copy link
Member Author

esttorhe commented Jan 6, 2016

The Pods directory is added to the repo so that Carthage can be supported.

The way it works is via a «phantom» project with the correctly shared Schemes making this project work with Carthage «out of the box»


Edit: the project is _Pods.xcproject and gets generated via the pod init template

@kzaher
Copy link
Member

kzaher commented Jan 6, 2016

Hi @esttorhe ,

I also have issues with supporting multiple package managers in https://github.com/RxSwiftCommunity/RxDataSources.

¯_(ツ)_/¯

The best plan I've got is explained here RxSwiftCommunity/RxDataSources#1.

I've taken a look at Moya and I believe this should be working, right?

Hoping in this way we wouldn't need to commit any RxSwift code.

@esttorhe
Copy link
Member Author

esttorhe commented Jan 6, 2016

@kzaher that's interesting; my first approach to supporting Carthage was off on Moya's implementation at the time; didn't know they changed the approach.

I'll take a look at it and fix it accordingly although i think i would do that on another PR.
Would rather have 3.0.0 out supporting RxSwift 2 now so people that are using it can build with latest and released version of everything; then fix that Carthage support.

@ashfurrow
Copy link
Member

Just curious – has anyone asked for Carthage support on RxViewModel?

@esttorhe
Copy link
Member Author

esttorhe commented Jan 6, 2016

Well; RxViewModel has supported Carthage since its conception
¯_(ツ)_/¯

Not supporting it now could be «bad» if there's a chance that 1 or 2 users are depending on it (even though I doubt it)

@ashfurrow
Copy link
Member

Ah, gotcha. I don't add support for Carthage until someone asks 😛 Even then, I don't really add it so much as I accept pull requests that do it for me.

@esttorhe
Copy link
Member Author

esttorhe commented Jan 6, 2016

Hahahaha; yeah i've noticed.

I'm not too well versed in Carthage myself and that's why CocoaPods template was a blessing.

I'll take a look at the current/new approach.

Unless this is a real blocker I would really appreciate the merge 😊
The project I'm working on for my day job uses RxViewModel and RxSwift and we are trying to update to official 2.0 version

@ashfurrow
Copy link
Member

Cool cool – the diff is hard to read, but it all looks good 👍

The CI is red, but the error message look related to install code coverage tools? I'll merge now and we can fix afterward.

ashfurrow added a commit that referenced this pull request Jan 6, 2016
@ashfurrow ashfurrow merged commit 66a6857 into RxSwiftCommunity:master Jan 6, 2016
@esttorhe esttorhe deleted the rxswift2 branch January 6, 2016 16:18
@esttorhe
Copy link
Member Author

esttorhe commented Jan 6, 2016

Thanks Ash. I'll make a new pod release now 🙇

This was referenced Jan 6, 2016
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.

4 participants