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 for Swift Package Manager #106

Closed
wants to merge 1 commit into from
Closed

Support for Swift Package Manager #106

wants to merge 1 commit into from

Conversation

kovpas
Copy link
Contributor

@kovpas kovpas commented Nov 6, 2017

Had to #if os(iOS) bunch of UIKit stuff, since SPM doesn't support it yet.

Resolves #112

@CLAassistant
Copy link

CLAassistant commented Nov 6, 2017

CLA assistant check
All committers have signed the CLA.

@kovpas kovpas force-pushed the spm_support branch 4 times, most recently from f4fc90b to 635cc00 Compare November 6, 2017 09:54
Copy link
Contributor

@artman artman left a comment

Choose a reason for hiding this comment

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

I don't like the idea that we have to ifdef our code to make it work with Swift package manager. Maybe we should wait for Swift package manager to support platforms before we add support for it?

@@ -47,3 +49,5 @@ open class LaunchRouter<InteractorType, ViewControllerType>: ViewableRouter<Inte
load()
}
}

#endif
Copy link
Contributor

Choose a reason for hiding this comment

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

Newline please

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

@kovpas
Copy link
Contributor Author

kovpas commented Nov 6, 2017

I don't like the idea that we have to ifdef our code to make it work with Swift package manager. Maybe we should wait for Swift package manager to support platforms before we add support for it?

Yeah, I'm leaving the decision up to you. In other opensource projects, people are usually asking about SPM support. Let's monitor if that's gonna be the case with RIBs and get back to the topic if it is.

@alanzeino
Copy link

I don't think this is needed. SPM can't even build iOS projects yet.

@kovpas
Copy link
Contributor Author

kovpas commented Nov 6, 2017

Yes, good point. Closing the PR.

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

4 participants