CaptureView A SwiftUI view which encloses an AVCapture session. Initially this is focussed on barcode scanning, but it could be expanded to include other capabilities.