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

Swift 4 Package compatibility #284

Merged
merged 2 commits into from Oct 25, 2017

Conversation

joshchngs
Copy link
Contributor

I've been trying to import Hero into a Swift 4 project using this approach. It mostly works, but some UIKit imports are missing, and the Source tree layout doesn't match what SPM 4 expects.

This PR fixes it for Swift 4, but I don't know if SPM 3 will work any more. I haven't tested whether it worked previously; was anybody else using it? I can put in a Package@Swift-3.swift for backwards compatibility if it's needed.

@lkzhao
Copy link
Collaborator

lkzhao commented Oct 25, 2017

Awesome! Thanks.

@lkzhao
Copy link
Collaborator

lkzhao commented Oct 25, 2017

If they are using SPM, then they probably migrated to swift 4 already. lets not support SPM3.

@lkzhao lkzhao merged commit cf99c8b into HeroTransitions:master Oct 25, 2017
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