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

Add TOCropViewController import for SwiftPM #417

Merged
merged 1 commit into from
Jun 16, 2020

Conversation

sinoru
Copy link
Contributor

@sinoru sinoru commented Jun 16, 2020

Currently, SwiftPM's CropViewController module can't compiled, Because there are lots of error witch can't reference to TOCropViewController module
In SwiftPM, Each module should import explicitly.

But, In CocoaPods it has only one module that has Obj-C, Swift. So I wrap with canImport clause that CocoaPods build works too after this changes.

@TimOliver
Copy link
Owner

Oh great! I saw that import issue once, and thought leaving it as implicit was fine. Thanks for fixing that!

@TimOliver TimOliver merged commit e3437ab into TimOliver:master Jun 16, 2020
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.

2 participants