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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add RxSwift as a dependency of TuistKit #760

Merged
merged 2 commits into from Dec 7, 2019
Merged

Conversation

pepicrft
Copy link
Contributor

@pepicrft pepicrft commented Dec 7, 2019

Short description 馃摑

With the introduction of caching, we'll need to perform operations in parallel, for example pulling the frameworks from the cache. Modelling them with a reactive interface makes the asynchronous logic easier to reason about.

What

I'm introducing RxSwift as a dependency of TuistKit.

Why not Combine? Combine is only available from macOS 10.15.x and there might be users using tuist with lower versions of macOS. Since the usage of RxSwift will be scoped to just the asynchronous operations required for caching, should be easy to replace with Combine once we drop the support for macOS 10.14.x

@pepicrft pepicrft requested review from andreacipriani and a team December 7, 2019 12:56
@pepicrft pepicrft self-assigned this Dec 7, 2019
@ghost ghost requested review from kwridan and ollieatkinson and removed request for a team December 7, 2019 12:56
@github-actions
Copy link
Contributor

github-actions bot commented Dec 7, 2019

@pepibumur your pull request is missing a changelog!

@@ -27,6 +27,7 @@ Please, check out guidelines: https://keepachangelog.com/en/1.0.0/
- Make scheme generation methods more generic https://github.com/tuist/tuist/pull/730 by @adamkhazi @kwridan.
- Make scheme generation methods more generic by @adamkhazi @kwridan.
- `SimulatorController` with method to fetch the runtimes https://github.com/tuist/tuist/pull/746 by @pepibumur.
- Add RxSwift as a dependency of `TuistKit` https://github.com/tuist/tuist/pull/760 by @pepibumur.
Copy link
Contributor

Choose a reason for hiding this comment

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

wondering if we will limit the usage of RxSwift as migrating to Combine may require considerable efforts

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It's fine. If at some point we consider migrating we can do it gradually. I'd not worry about that too much.

@pepicrft pepicrft merged commit 8bb5101 into master Dec 7, 2019
@pepicrft pepicrft deleted the add-reactive-dependency branch December 7, 2019 13:15
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.

None yet

2 participants