diff --git a/CHANGELOG.md b/CHANGELOG.md index a49d358..78f169a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [Unreleased] + +### Features + +- Add support for Swift Package Manager (SPM) compatibility. [RMET-4320](https://outsystemsrd.atlassian.net/browse/RMET-4320). + ## 2.0.1 - Fix ambiguity between UPC-A and EAN-13 when hint is provided. diff --git a/OSBarcodeLib.xcodeproj/project.pbxproj b/OSBarcodeLib.xcodeproj/project.pbxproj index 79d6b3f..5fd3d33 100644 --- a/OSBarcodeLib.xcodeproj/project.pbxproj +++ b/OSBarcodeLib.xcodeproj/project.pbxproj @@ -177,7 +177,8 @@ 75E2B2042AF414DD00DB689E /* Permissions */, 75E2B1C32AF3A97400DB689E /* Scanner */, ); - path = OSBarcodeLib; + name = OSBarcodeLib; + path = Sources/OSBarcodeLib; sourceTree = ""; }; 7507FC1E27FC2AAE003809F6 /* OSBarcodeLibTests */ = { @@ -188,7 +189,8 @@ 75C20B6A2AF4FE0700CCB5B1 /* OSBARCManagerFactoryTests.swift */, 75E2B2052AF4153900DB689E /* OSBARCManagerTests.swift */, ); - path = OSBarcodeLibTests; + name = OSBarcodeLibTests; + path = Tests/OSBarcodeLibTests; sourceTree = ""; }; 7513C4822B03E86B005E81C4 /* MappableProtocol */ = { diff --git a/Package.swift b/Package.swift new file mode 100644 index 0000000..ff81fee --- /dev/null +++ b/Package.swift @@ -0,0 +1,26 @@ +// swift-tools-version:5.7 +import PackageDescription + +let package = Package( + name: "OSBarcodeLib", + platforms: [ + .iOS(.v14) + ], + products: [ + .library( + name: "OSBarcodeLib", + targets: ["OSBarcodeLib"] + ), + ], + targets: [ + .target( + name: "OSBarcodeLib", + path: "Sources/OSBarcodeLib" + ), + .testTarget( + name: "OSBarcodeLibTests", + dependencies: ["OSBarcodeLib"], + path: "Tests/OSBarcodeLibTests" + ), + ] +) diff --git a/OSBarcodeLib/Coordinator/OSBARCCoordinatable.swift b/Sources/OSBarcodeLib/Coordinator/OSBARCCoordinatable.swift similarity index 100% rename from OSBarcodeLib/Coordinator/OSBARCCoordinatable.swift rename to Sources/OSBarcodeLib/Coordinator/OSBARCCoordinatable.swift diff --git a/OSBarcodeLib/Coordinator/OSBARCCoordinator.swift b/Sources/OSBarcodeLib/Coordinator/OSBARCCoordinator.swift similarity index 100% rename from OSBarcodeLib/Coordinator/OSBARCCoordinator.swift rename to Sources/OSBarcodeLib/Coordinator/OSBARCCoordinator.swift diff --git a/OSBarcodeLib/Coordinator/OSBARCCoordinatorProtocol.swift b/Sources/OSBarcodeLib/Coordinator/OSBARCCoordinatorProtocol.swift similarity index 100% rename from OSBarcodeLib/Coordinator/OSBARCCoordinatorProtocol.swift rename to Sources/OSBarcodeLib/Coordinator/OSBARCCoordinatorProtocol.swift diff --git a/OSBarcodeLib/Manager/OSBARCManager.swift b/Sources/OSBarcodeLib/Manager/OSBARCManager.swift similarity index 100% rename from OSBarcodeLib/Manager/OSBARCManager.swift rename to Sources/OSBarcodeLib/Manager/OSBARCManager.swift diff --git a/OSBarcodeLib/Manager/OSBARCManagerFactory.swift b/Sources/OSBarcodeLib/Manager/OSBARCManagerFactory.swift similarity index 100% rename from OSBarcodeLib/Manager/OSBARCManagerFactory.swift rename to Sources/OSBarcodeLib/Manager/OSBARCManagerFactory.swift diff --git a/OSBarcodeLib/Manager/OSBARCManagerProtocol.swift b/Sources/OSBarcodeLib/Manager/OSBARCManagerProtocol.swift similarity index 100% rename from OSBarcodeLib/Manager/OSBARCManagerProtocol.swift rename to Sources/OSBarcodeLib/Manager/OSBARCManagerProtocol.swift diff --git a/OSBarcodeLib/Models/MappableProtocol/OSBARCDeviceTypeModelMappable.swift b/Sources/OSBarcodeLib/Models/MappableProtocol/OSBARCDeviceTypeModelMappable.swift similarity index 100% rename from OSBarcodeLib/Models/MappableProtocol/OSBARCDeviceTypeModelMappable.swift rename to Sources/OSBarcodeLib/Models/MappableProtocol/OSBARCDeviceTypeModelMappable.swift diff --git a/OSBarcodeLib/Models/MappableProtocol/OSBARCModelMappable.swift b/Sources/OSBarcodeLib/Models/MappableProtocol/OSBARCModelMappable.swift similarity index 100% rename from OSBarcodeLib/Models/MappableProtocol/OSBARCModelMappable.swift rename to Sources/OSBarcodeLib/Models/MappableProtocol/OSBARCModelMappable.swift diff --git a/OSBarcodeLib/Models/OSBARCCameraModel.swift b/Sources/OSBarcodeLib/Models/OSBARCCameraModel.swift similarity index 100% rename from OSBarcodeLib/Models/OSBARCCameraModel.swift rename to Sources/OSBarcodeLib/Models/OSBARCCameraModel.swift diff --git a/OSBarcodeLib/Models/OSBARCDeviceTypeModel.swift b/Sources/OSBarcodeLib/Models/OSBARCDeviceTypeModel.swift similarity index 100% rename from OSBarcodeLib/Models/OSBARCDeviceTypeModel.swift rename to Sources/OSBarcodeLib/Models/OSBARCDeviceTypeModel.swift diff --git a/OSBarcodeLib/Models/OSBARCOrientationModel.swift b/Sources/OSBarcodeLib/Models/OSBARCOrientationModel.swift similarity index 100% rename from OSBarcodeLib/Models/OSBARCOrientationModel.swift rename to Sources/OSBarcodeLib/Models/OSBARCOrientationModel.swift diff --git a/OSBarcodeLib/Models/OSBARCScanParameters.swift b/Sources/OSBarcodeLib/Models/OSBARCScanParameters.swift similarity index 100% rename from OSBarcodeLib/Models/OSBARCScanParameters.swift rename to Sources/OSBarcodeLib/Models/OSBARCScanParameters.swift diff --git a/OSBarcodeLib/Models/OSBARCScanResult.swift b/Sources/OSBarcodeLib/Models/OSBARCScanResult.swift similarity index 100% rename from OSBarcodeLib/Models/OSBARCScanResult.swift rename to Sources/OSBarcodeLib/Models/OSBARCScanResult.swift diff --git a/OSBarcodeLib/Models/OSBARCScannerHint.swift b/Sources/OSBarcodeLib/Models/OSBARCScannerHint.swift similarity index 100% rename from OSBarcodeLib/Models/OSBARCScannerHint.swift rename to Sources/OSBarcodeLib/Models/OSBARCScannerHint.swift diff --git a/OSBarcodeLib/Permissions/OSBARCPermissionsBehaviour.swift b/Sources/OSBarcodeLib/Permissions/OSBARCPermissionsBehaviour.swift similarity index 100% rename from OSBarcodeLib/Permissions/OSBARCPermissionsBehaviour.swift rename to Sources/OSBarcodeLib/Permissions/OSBARCPermissionsBehaviour.swift diff --git a/OSBarcodeLib/Permissions/OSBARCPermissionsProtocol.swift b/Sources/OSBarcodeLib/Permissions/OSBARCPermissionsProtocol.swift similarity index 100% rename from OSBarcodeLib/Permissions/OSBARCPermissionsProtocol.swift rename to Sources/OSBarcodeLib/Permissions/OSBARCPermissionsProtocol.swift diff --git a/OSBarcodeLib/Scanner/CameraManager/OSBARCCameraChange.swift b/Sources/OSBarcodeLib/Scanner/CameraManager/OSBARCCameraChange.swift similarity index 100% rename from OSBarcodeLib/Scanner/CameraManager/OSBARCCameraChange.swift rename to Sources/OSBarcodeLib/Scanner/CameraManager/OSBARCCameraChange.swift diff --git a/OSBarcodeLib/Scanner/CameraManager/OSBARCCameraManager.swift b/Sources/OSBarcodeLib/Scanner/CameraManager/OSBARCCameraManager.swift similarity index 100% rename from OSBarcodeLib/Scanner/CameraManager/OSBARCCameraManager.swift rename to Sources/OSBarcodeLib/Scanner/CameraManager/OSBARCCameraManager.swift diff --git a/OSBarcodeLib/Scanner/CameraManager/OSBARCCameraManagerEnums.swift b/Sources/OSBarcodeLib/Scanner/CameraManager/OSBARCCameraManagerEnums.swift similarity index 100% rename from OSBarcodeLib/Scanner/CameraManager/OSBARCCameraManagerEnums.swift rename to Sources/OSBarcodeLib/Scanner/CameraManager/OSBARCCameraManagerEnums.swift diff --git a/OSBarcodeLib/Scanner/CameraManager/OSBARCCameraType+DeviceType.swift b/Sources/OSBarcodeLib/Scanner/CameraManager/OSBARCCameraType+DeviceType.swift similarity index 100% rename from OSBarcodeLib/Scanner/CameraManager/OSBARCCameraType+DeviceType.swift rename to Sources/OSBarcodeLib/Scanner/CameraManager/OSBARCCameraType+DeviceType.swift diff --git a/OSBarcodeLib/Scanner/CameraManager/OSBARCCaptureOutputDecoder.swift b/Sources/OSBarcodeLib/Scanner/CameraManager/OSBARCCaptureOutputDecoder.swift similarity index 100% rename from OSBarcodeLib/Scanner/CameraManager/OSBARCCaptureOutputDecoder.swift rename to Sources/OSBarcodeLib/Scanner/CameraManager/OSBARCCaptureOutputDecoder.swift diff --git a/OSBarcodeLib/Scanner/CameraManager/OSBARCCaptureSessionManager.swift b/Sources/OSBarcodeLib/Scanner/CameraManager/OSBARCCaptureSessionManager.swift similarity index 100% rename from OSBarcodeLib/Scanner/CameraManager/OSBARCCaptureSessionManager.swift rename to Sources/OSBarcodeLib/Scanner/CameraManager/OSBARCCaptureSessionManager.swift diff --git a/OSBarcodeLib/Scanner/Extensions/AVCaptureDevice+OSBARCModelMappable.swift b/Sources/OSBarcodeLib/Scanner/Extensions/AVCaptureDevice+OSBARCModelMappable.swift similarity index 100% rename from OSBarcodeLib/Scanner/Extensions/AVCaptureDevice+OSBARCModelMappable.swift rename to Sources/OSBarcodeLib/Scanner/Extensions/AVCaptureDevice+OSBARCModelMappable.swift diff --git a/OSBarcodeLib/Scanner/Extensions/AVCaptureVideoOrientation+CustomInit.swift b/Sources/OSBarcodeLib/Scanner/Extensions/AVCaptureVideoOrientation+CustomInit.swift similarity index 100% rename from OSBarcodeLib/Scanner/Extensions/AVCaptureVideoOrientation+CustomInit.swift rename to Sources/OSBarcodeLib/Scanner/Extensions/AVCaptureVideoOrientation+CustomInit.swift diff --git a/OSBarcodeLib/Scanner/Extensions/Float+DecimalPlacesCleaner.swift b/Sources/OSBarcodeLib/Scanner/Extensions/Float+DecimalPlacesCleaner.swift similarity index 100% rename from OSBarcodeLib/Scanner/Extensions/Float+DecimalPlacesCleaner.swift rename to Sources/OSBarcodeLib/Scanner/Extensions/Float+DecimalPlacesCleaner.swift diff --git a/OSBarcodeLib/Scanner/Extensions/Notification+CustomEvents.swift b/Sources/OSBarcodeLib/Scanner/Extensions/Notification+CustomEvents.swift similarity index 100% rename from OSBarcodeLib/Scanner/Extensions/Notification+CustomEvents.swift rename to Sources/OSBarcodeLib/Scanner/Extensions/Notification+CustomEvents.swift diff --git a/OSBarcodeLib/Scanner/Extensions/OSBARCScannerHint+VNBarcodeSymbology.swift b/Sources/OSBarcodeLib/Scanner/Extensions/OSBARCScannerHint+VNBarcodeSymbology.swift similarity index 100% rename from OSBarcodeLib/Scanner/Extensions/OSBARCScannerHint+VNBarcodeSymbology.swift rename to Sources/OSBarcodeLib/Scanner/Extensions/OSBARCScannerHint+VNBarcodeSymbology.swift diff --git a/OSBarcodeLib/Scanner/Extensions/UIApplication+Window.swift b/Sources/OSBarcodeLib/Scanner/Extensions/UIApplication+Window.swift similarity index 100% rename from OSBarcodeLib/Scanner/Extensions/UIApplication+Window.swift rename to Sources/OSBarcodeLib/Scanner/Extensions/UIApplication+Window.swift diff --git a/OSBarcodeLib/Scanner/Extensions/UIInterfaceOrientationMask+OSBARCModelMappable.swift b/Sources/OSBarcodeLib/Scanner/Extensions/UIInterfaceOrientationMask+OSBARCModelMappable.swift similarity index 100% rename from OSBarcodeLib/Scanner/Extensions/UIInterfaceOrientationMask+OSBARCModelMappable.swift rename to Sources/OSBarcodeLib/Scanner/Extensions/UIInterfaceOrientationMask+OSBARCModelMappable.swift diff --git a/OSBarcodeLib/Scanner/Extensions/UIUserInterfaceIdiom+OSBARCModelMappable.swift b/Sources/OSBarcodeLib/Scanner/Extensions/UIUserInterfaceIdiom+OSBARCModelMappable.swift similarity index 100% rename from OSBarcodeLib/Scanner/Extensions/UIUserInterfaceIdiom+OSBARCModelMappable.swift rename to Sources/OSBarcodeLib/Scanner/Extensions/UIUserInterfaceIdiom+OSBARCModelMappable.swift diff --git a/OSBarcodeLib/Scanner/Extensions/View+CustomModifiers.swift b/Sources/OSBarcodeLib/Scanner/Extensions/View+CustomModifiers.swift similarity index 100% rename from OSBarcodeLib/Scanner/Extensions/View+CustomModifiers.swift rename to Sources/OSBarcodeLib/Scanner/Extensions/View+CustomModifiers.swift diff --git a/OSBarcodeLib/Scanner/Interface Elements/OSBARCBackgroundView.swift b/Sources/OSBarcodeLib/Scanner/Interface Elements/OSBARCBackgroundView.swift similarity index 100% rename from OSBarcodeLib/Scanner/Interface Elements/OSBARCBackgroundView.swift rename to Sources/OSBarcodeLib/Scanner/Interface Elements/OSBARCBackgroundView.swift diff --git a/OSBarcodeLib/Scanner/Interface Elements/OSBARCCancelButton.swift b/Sources/OSBarcodeLib/Scanner/Interface Elements/OSBARCCancelButton.swift similarity index 100% rename from OSBarcodeLib/Scanner/Interface Elements/OSBARCCancelButton.swift rename to Sources/OSBarcodeLib/Scanner/Interface Elements/OSBARCCancelButton.swift diff --git a/OSBarcodeLib/Scanner/Interface Elements/OSBARCInstructionsText.swift b/Sources/OSBarcodeLib/Scanner/Interface Elements/OSBARCInstructionsText.swift similarity index 100% rename from OSBarcodeLib/Scanner/Interface Elements/OSBARCInstructionsText.swift rename to Sources/OSBarcodeLib/Scanner/Interface Elements/OSBARCInstructionsText.swift diff --git a/OSBarcodeLib/Scanner/Interface Elements/OSBARCScanButton.swift b/Sources/OSBarcodeLib/Scanner/Interface Elements/OSBARCScanButton.swift similarity index 100% rename from OSBarcodeLib/Scanner/Interface Elements/OSBARCScanButton.swift rename to Sources/OSBarcodeLib/Scanner/Interface Elements/OSBARCScanButton.swift diff --git a/OSBarcodeLib/Scanner/Interface Elements/OSBARCScanningZone.swift b/Sources/OSBarcodeLib/Scanner/Interface Elements/OSBARCScanningZone.swift similarity index 100% rename from OSBarcodeLib/Scanner/Interface Elements/OSBARCScanningZone.swift rename to Sources/OSBarcodeLib/Scanner/Interface Elements/OSBARCScanningZone.swift diff --git a/OSBarcodeLib/Scanner/Interface Elements/OSBARCTorchButton.swift b/Sources/OSBarcodeLib/Scanner/Interface Elements/OSBARCTorchButton.swift similarity index 100% rename from OSBarcodeLib/Scanner/Interface Elements/OSBARCTorchButton.swift rename to Sources/OSBarcodeLib/Scanner/Interface Elements/OSBARCTorchButton.swift diff --git a/OSBarcodeLib/Scanner/Interface Elements/OSBARCZoomButton.swift b/Sources/OSBarcodeLib/Scanner/Interface Elements/OSBARCZoomButton.swift similarity index 100% rename from OSBarcodeLib/Scanner/Interface Elements/OSBARCZoomButton.swift rename to Sources/OSBarcodeLib/Scanner/Interface Elements/OSBARCZoomButton.swift diff --git a/OSBarcodeLib/Scanner/Interface Elements/OSBARCZoomSelectorView.swift b/Sources/OSBarcodeLib/Scanner/Interface Elements/OSBARCZoomSelectorView.swift similarity index 100% rename from OSBarcodeLib/Scanner/Interface Elements/OSBARCZoomSelectorView.swift rename to Sources/OSBarcodeLib/Scanner/Interface Elements/OSBARCZoomSelectorView.swift diff --git a/OSBarcodeLib/Scanner/OSBARCScannerBehaviour.swift b/Sources/OSBarcodeLib/Scanner/OSBARCScannerBehaviour.swift similarity index 100% rename from OSBarcodeLib/Scanner/OSBARCScannerBehaviour.swift rename to Sources/OSBarcodeLib/Scanner/OSBARCScannerBehaviour.swift diff --git a/OSBarcodeLib/Scanner/OSBARCScannerProtocol.swift b/Sources/OSBarcodeLib/Scanner/OSBARCScannerProtocol.swift similarity index 100% rename from OSBarcodeLib/Scanner/OSBARCScannerProtocol.swift rename to Sources/OSBarcodeLib/Scanner/OSBARCScannerProtocol.swift diff --git a/OSBarcodeLib/Scanner/OSBARCScannerView.swift b/Sources/OSBarcodeLib/Scanner/OSBARCScannerView.swift similarity index 100% rename from OSBarcodeLib/Scanner/OSBARCScannerView.swift rename to Sources/OSBarcodeLib/Scanner/OSBARCScannerView.swift diff --git a/OSBarcodeLib/Scanner/OSBARCScannerView.xcassets/Contents.json b/Sources/OSBarcodeLib/Scanner/OSBARCScannerView.xcassets/Contents.json similarity index 100% rename from OSBarcodeLib/Scanner/OSBARCScannerView.xcassets/Contents.json rename to Sources/OSBarcodeLib/Scanner/OSBARCScannerView.xcassets/Contents.json diff --git a/OSBarcodeLib/Scanner/OSBARCScannerView.xcassets/flash-selected.imageset/Contents.json b/Sources/OSBarcodeLib/Scanner/OSBARCScannerView.xcassets/flash-selected.imageset/Contents.json similarity index 100% rename from OSBarcodeLib/Scanner/OSBARCScannerView.xcassets/flash-selected.imageset/Contents.json rename to Sources/OSBarcodeLib/Scanner/OSBARCScannerView.xcassets/flash-selected.imageset/Contents.json diff --git a/OSBarcodeLib/Scanner/OSBARCScannerView.xcassets/flash-selected.imageset/flash-black.png b/Sources/OSBarcodeLib/Scanner/OSBARCScannerView.xcassets/flash-selected.imageset/flash-black.png similarity index 100% rename from OSBarcodeLib/Scanner/OSBARCScannerView.xcassets/flash-selected.imageset/flash-black.png rename to Sources/OSBarcodeLib/Scanner/OSBARCScannerView.xcassets/flash-selected.imageset/flash-black.png diff --git a/OSBarcodeLib/Scanner/OSBARCScannerView.xcassets/flash-selected.imageset/flash-black@2x.png b/Sources/OSBarcodeLib/Scanner/OSBARCScannerView.xcassets/flash-selected.imageset/flash-black@2x.png similarity index 100% rename from OSBarcodeLib/Scanner/OSBARCScannerView.xcassets/flash-selected.imageset/flash-black@2x.png rename to Sources/OSBarcodeLib/Scanner/OSBARCScannerView.xcassets/flash-selected.imageset/flash-black@2x.png diff --git a/OSBarcodeLib/Scanner/OSBARCScannerView.xcassets/flash-selected.imageset/flash-black@3x.png b/Sources/OSBarcodeLib/Scanner/OSBARCScannerView.xcassets/flash-selected.imageset/flash-black@3x.png similarity index 100% rename from OSBarcodeLib/Scanner/OSBARCScannerView.xcassets/flash-selected.imageset/flash-black@3x.png rename to Sources/OSBarcodeLib/Scanner/OSBARCScannerView.xcassets/flash-selected.imageset/flash-black@3x.png diff --git a/OSBarcodeLib/Scanner/OSBARCScannerView.xcassets/flash.imageset/Contents.json b/Sources/OSBarcodeLib/Scanner/OSBARCScannerView.xcassets/flash.imageset/Contents.json similarity index 100% rename from OSBarcodeLib/Scanner/OSBARCScannerView.xcassets/flash.imageset/Contents.json rename to Sources/OSBarcodeLib/Scanner/OSBARCScannerView.xcassets/flash.imageset/Contents.json diff --git a/OSBarcodeLib/Scanner/OSBARCScannerView.xcassets/flash.imageset/flash.png b/Sources/OSBarcodeLib/Scanner/OSBARCScannerView.xcassets/flash.imageset/flash.png similarity index 100% rename from OSBarcodeLib/Scanner/OSBARCScannerView.xcassets/flash.imageset/flash.png rename to Sources/OSBarcodeLib/Scanner/OSBARCScannerView.xcassets/flash.imageset/flash.png diff --git a/OSBarcodeLib/Scanner/OSBARCScannerView.xcassets/flash.imageset/flash@2x.png b/Sources/OSBarcodeLib/Scanner/OSBARCScannerView.xcassets/flash.imageset/flash@2x.png similarity index 100% rename from OSBarcodeLib/Scanner/OSBARCScannerView.xcassets/flash.imageset/flash@2x.png rename to Sources/OSBarcodeLib/Scanner/OSBARCScannerView.xcassets/flash.imageset/flash@2x.png diff --git a/OSBarcodeLib/Scanner/OSBARCScannerView.xcassets/flash.imageset/flash@3x.png b/Sources/OSBarcodeLib/Scanner/OSBARCScannerView.xcassets/flash.imageset/flash@3x.png similarity index 100% rename from OSBarcodeLib/Scanner/OSBARCScannerView.xcassets/flash.imageset/flash@3x.png rename to Sources/OSBarcodeLib/Scanner/OSBARCScannerView.xcassets/flash.imageset/flash@3x.png diff --git a/OSBarcodeLib/Scanner/OSBARCScannerViewConfigurationValues.swift b/Sources/OSBarcodeLib/Scanner/OSBARCScannerViewConfigurationValues.swift similarity index 100% rename from OSBarcodeLib/Scanner/OSBARCScannerViewConfigurationValues.swift rename to Sources/OSBarcodeLib/Scanner/OSBARCScannerViewConfigurationValues.swift diff --git a/OSBarcodeLib/Scanner/OSBARCScannerViewController.swift b/Sources/OSBarcodeLib/Scanner/OSBARCScannerViewController.swift similarity index 100% rename from OSBarcodeLib/Scanner/OSBARCScannerViewController.swift rename to Sources/OSBarcodeLib/Scanner/OSBARCScannerViewController.swift diff --git a/OSBarcodeLib/Scanner/OSBARCScannerViewControllerRepresentable.swift b/Sources/OSBarcodeLib/Scanner/OSBARCScannerViewControllerRepresentable.swift similarity index 100% rename from OSBarcodeLib/Scanner/OSBARCScannerViewControllerRepresentable.swift rename to Sources/OSBarcodeLib/Scanner/OSBARCScannerViewControllerRepresentable.swift diff --git a/OSBarcodeLib/Scanner/OSBARCScannerViewHostingController.swift b/Sources/OSBarcodeLib/Scanner/OSBARCScannerViewHostingController.swift similarity index 100% rename from OSBarcodeLib/Scanner/OSBARCScannerViewHostingController.swift rename to Sources/OSBarcodeLib/Scanner/OSBARCScannerViewHostingController.swift diff --git a/OSBarcodeLib/Scanner/OSBARCScannerViewModel.swift b/Sources/OSBarcodeLib/Scanner/OSBARCScannerViewModel.swift similarity index 100% rename from OSBarcodeLib/Scanner/OSBARCScannerViewModel.swift rename to Sources/OSBarcodeLib/Scanner/OSBARCScannerViewModel.swift diff --git a/OSBarcodeLibTests/OSBARCManagerFactoryTests.swift b/Tests/OSBarcodeLibTests/OSBARCManagerFactoryTests.swift similarity index 100% rename from OSBarcodeLibTests/OSBARCManagerFactoryTests.swift rename to Tests/OSBarcodeLibTests/OSBARCManagerFactoryTests.swift diff --git a/OSBarcodeLibTests/OSBARCManagerTests.swift b/Tests/OSBarcodeLibTests/OSBARCManagerTests.swift similarity index 100% rename from OSBarcodeLibTests/OSBARCManagerTests.swift rename to Tests/OSBarcodeLibTests/OSBARCManagerTests.swift diff --git a/OSBarcodeLibTests/OSBARCTestValues.swift b/Tests/OSBarcodeLibTests/OSBARCTestValues.swift similarity index 100% rename from OSBarcodeLibTests/OSBARCTestValues.swift rename to Tests/OSBarcodeLibTests/OSBARCTestValues.swift diff --git a/OSBarcodeLibTests/Stubs/OSBARCPermissionsStub.swift b/Tests/OSBarcodeLibTests/Stubs/OSBARCPermissionsStub.swift similarity index 100% rename from OSBarcodeLibTests/Stubs/OSBARCPermissionsStub.swift rename to Tests/OSBarcodeLibTests/Stubs/OSBARCPermissionsStub.swift diff --git a/OSBarcodeLibTests/Stubs/OSBARCScannerStub.swift b/Tests/OSBarcodeLibTests/Stubs/OSBARCScannerStub.swift similarity index 100% rename from OSBarcodeLibTests/Stubs/OSBARCScannerStub.swift rename to Tests/OSBarcodeLibTests/Stubs/OSBARCScannerStub.swift