Skip to content

Migrated: swift 3.0 → 4.0 - #36

Open
meigesir wants to merge 1 commit into
liufan321:masterfrom
meigesir:master
Open

Migrated: swift 3.0 → 4.0#36
meigesir wants to merge 1 commit into
liufan321:masterfrom
meigesir:master

Conversation

@meigesir

Copy link
Copy Markdown

Ext: add clearDrawLayer function in startScan function for clearing operation

Ext: add `clearDrawLayer` function in `startScan` function for clearing operation
@raphaeloliveira

Copy link
Copy Markdown

Hi @liufan321, thank you for creating this project. I'd love to know if you are still maintaining it and if you could accept this pull request to upgrade the project to Swift 4.

}

if !session.canAddInput(videoInput) {
if !session.canAddInput(videoInput!) {

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Hey, I believe this will crash the app if the user denies camera permission, making videoInput nil.

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