-
Notifications
You must be signed in to change notification settings - Fork 326
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 5 Support #213
base: master
Are you sure you want to change the base?
Swift 5 Support #213
Conversation
Made AVCam alert optional, added no permissions state to camera view
Swift4 merged
migrate to swift5
@Awalz any plans on supporting Swift 5? Would love to see this merged |
NotificationCenter.default.removeObserver(self) | ||
sessionRunning = false | ||
// If session is running, stop the session | ||
// if self.isSessionRunning == true { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we still want the session to stop running when the vc disappears
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, yes you're right. This edit may have been too coupled to my use case.
It's been a couple years since I last worked on anything iOS. I probably won't have time to clean up this PR's conflicts nor respond to feedback, but hopefully this PR helps someone else bring SwitftyCam up to Swift5 support. |
@Awalz can you merge this? |
Working and compiling using Swift 5. If you are interested in merging this to master, I can fix the conflicts. Thanks,