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

Sample app fixes #527

Merged
merged 2 commits into from
Oct 6, 2023
Merged

Conversation

sergiofraile
Copy link

This PR includes two commits that addresses updates in the sample apps (both Swift and Obj-c versions):

  • Updating obj-c sample app and fixing indents (2b9861c): Minor updates to the objective-c sample app. This includes:

    • Updating the indentation of the .m files.
    • Uptake the main and launch storyboards from the iOS app.
    • Updating variable names to match those from the swift version of the sample app.
    • Moved some setup to its own method.
  • Fixing applyRectOfInterest method (486c7d4): When working with different screen sizes, the current method to determine the rect of interest didn't calculate the area correctly. Examples of this is when you want to have a scanner on a modal view or on another screen size such as an iPad. It also reduces some of the boiler plate around those calculations, relying on Apple's APIs to leverage the work around calculating the value.

@benjohnde
Copy link
Member

LGTM!

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