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

Allow support for using an image after instantiation #251

Merged
merged 4 commits into from
Jul 7, 2020

Conversation

erikvillegas
Copy link
Contributor

This change moves quad detection code into the method detect(image:) so it can be accessed post-instantiation. This is utilized by useImage(image:), which will push an EditScanViewController even after the main VC is presented. For an example of how I've been using this in production, see this video.

I also made ScannerViewController public so client code can inspect the controller hierarchy for this specific controller.

@erikvillegas
Copy link
Contributor Author

Not quite sure why the Bitrise check fails, any idea what the underlying error might be?

@andschdk andschdk mentioned this pull request Jul 2, 2020
Copy link
Contributor

@AvdLee AvdLee left a comment

Choose a reason for hiding this comment

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

Thanks for your contribution. I've got a few points of feedback regarding unneeded self usage.
Bitrise is running too and was shown as "failed" as it was never started. It requires manually acceptance for external PRs.

Thanks!

@ghost
Copy link

ghost commented Jul 6, 2020

Messages
📖

View more details on Bitrise

📖 WeScan: Executed 56 tests, with 0 failures (0 unexpected) in 19.060 (19.166) seconds

WeScan.framework: Coverage: 41.03

File Coverage
ImageScannerController.swift 6.47%
ScannerViewController.swift 0.0% ⚠️

Generated by 🚫 Danger Swift against 41a7363

@erikvillegas
Copy link
Contributor Author

Updated PR with code review feedback! :)

@AvdLee AvdLee merged commit 4b94435 into WeTransfer:master Jul 7, 2020
@ghost
Copy link

ghost commented Jul 7, 2020

Congratulations! 🎉 This was released as part of Release 1.6.0 🚀

Generated by GitBuddy

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