-
Notifications
You must be signed in to change notification settings - Fork 24
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
Live Preview #39
Merged
Merged
Live Preview #39
Changes from 1 commit
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
87f2273
Add new camera button
daveluong f502787
Add PhotoGalleryLiveViewCell to show live preview of camera stream
daveluong ed2b84e
Make live preview a configurable
daveluong d52ddce
Fix setting wrong cell type & other minor code presentation
daveluong faddd5f
Update version to 1.4.1 & add missing files
daveluong 7c762bd
Show old camera cell if there is no camera permission
daveluong c16a310
Update PhotoGalleryViewController.swift
daveluong 23498fb
Remove Example/Pods/*
daveluong f485fbb
Refactor to decouple camera session handling from the cell
daveluong 88db04e
Set version to 1.4.0
daveluong d05ca38
Rename property
daveluong 3f1cbfd
Remove unused code
daveluong d0a003e
Remove codesign config
daveluong 5d4a624
Missing scheme
daveluong cfd9113
Update CHANGELOG.md
daveluong 4682bb9
Merge branch 'master' into feature/live-preview
daveluong fd69328
Make property private and fix typo
daveluong e1deb1e
Initialize session handler only if config has livePreviewEnabled = true
daveluong dc7d981
Only access capture device when starting a session
daveluong 929302a
Make selectedAssets publicly accessible
daveluong 4e6e808
Don't initialize the session handler if don't have permission
daveluong 680c6e6
Use delegate instead of making the property publicly accessible
daveluong 28d2ed4
Add method to update selectedAsset from camera to photoGallery
daveluong 9ae0bf8
Update README.md
daveluong File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Accessing
AVCaptureDeviceInput
in the initializer will prematurely prompt user for permission, so I have moved it tostartSession()
instead. We only use the live view when user has already granted permission previously