├── .gitignore ├── .swiftlint.yml ├── Example.xcodeproj ├── project.pbxproj └── project.xcworkspace │ ├── contents.xcworkspacedata │ └── xcshareddata │ ├── IDEWorkspaceChecks.plist │ └── swiftpm │ └── Package.resolved ├── Example ├── Assets.xcassets │ ├── AccentColor.colorset │ │ └── Contents.json │ ├── AppIcon.appiconset │ │ └── Contents.json │ └── Contents.json ├── ExampleApp.swift ├── Info.plist ├── ObservableProgress.swift ├── Preview Content │ └── Preview Assets.xcassets │ │ └── Contents.json ├── ViewModel.swift └── Views │ ├── DownloadActionButton.swift │ ├── DownloadDescriptionView.swift │ ├── DownloadManagerView.swift │ ├── DownloadStateView.swift │ ├── DownloadView.swift │ └── ThroughputView.swift ├── Package.resolved ├── Package.swift ├── README.md ├── Sources └── DownloadManager │ ├── Download.swift │ ├── DownloadManager.swift │ ├── DownloadManagerDelegate.swift │ ├── DownloadProgress.swift │ ├── DownloadQueue.swift │ ├── DownloadState.swift │ └── MainThreadProtected.swift └── Tests ├── DownloadManagerTests ├── DownloadManagerIntegrationTests.swift ├── DownloadManagerTests.swift ├── DownloadProgressTests.swift ├── Helpers.swift └── XCTestManifests.swift └── LinuxMain.swift /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcharlick/DownloadManager/HEAD/.gitignore -------------------------------------------------------------------------------- /.swiftlint.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcharlick/DownloadManager/HEAD/.swiftlint.yml -------------------------------------------------------------------------------- /Example.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcharlick/DownloadManager/HEAD/Example.xcodeproj/project.pbxproj -------------------------------------------------------------------------------- /Example.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcharlick/DownloadManager/HEAD/Example.xcodeproj/project.xcworkspace/contents.xcworkspacedata -------------------------------------------------------------------------------- /Example.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcharlick/DownloadManager/HEAD/Example.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist -------------------------------------------------------------------------------- /Example.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcharlick/DownloadManager/HEAD/Example.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved -------------------------------------------------------------------------------- /Example/Assets.xcassets/AccentColor.colorset/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcharlick/DownloadManager/HEAD/Example/Assets.xcassets/AccentColor.colorset/Contents.json -------------------------------------------------------------------------------- /Example/Assets.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcharlick/DownloadManager/HEAD/Example/Assets.xcassets/AppIcon.appiconset/Contents.json -------------------------------------------------------------------------------- /Example/Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcharlick/DownloadManager/HEAD/Example/Assets.xcassets/Contents.json -------------------------------------------------------------------------------- /Example/ExampleApp.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcharlick/DownloadManager/HEAD/Example/ExampleApp.swift -------------------------------------------------------------------------------- /Example/Info.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcharlick/DownloadManager/HEAD/Example/Info.plist -------------------------------------------------------------------------------- /Example/ObservableProgress.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcharlick/DownloadManager/HEAD/Example/ObservableProgress.swift -------------------------------------------------------------------------------- /Example/Preview Content/Preview Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcharlick/DownloadManager/HEAD/Example/Preview Content/Preview Assets.xcassets/Contents.json -------------------------------------------------------------------------------- /Example/ViewModel.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcharlick/DownloadManager/HEAD/Example/ViewModel.swift -------------------------------------------------------------------------------- /Example/Views/DownloadActionButton.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcharlick/DownloadManager/HEAD/Example/Views/DownloadActionButton.swift -------------------------------------------------------------------------------- /Example/Views/DownloadDescriptionView.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcharlick/DownloadManager/HEAD/Example/Views/DownloadDescriptionView.swift -------------------------------------------------------------------------------- /Example/Views/DownloadManagerView.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcharlick/DownloadManager/HEAD/Example/Views/DownloadManagerView.swift -------------------------------------------------------------------------------- /Example/Views/DownloadStateView.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcharlick/DownloadManager/HEAD/Example/Views/DownloadStateView.swift -------------------------------------------------------------------------------- /Example/Views/DownloadView.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcharlick/DownloadManager/HEAD/Example/Views/DownloadView.swift -------------------------------------------------------------------------------- /Example/Views/ThroughputView.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcharlick/DownloadManager/HEAD/Example/Views/ThroughputView.swift -------------------------------------------------------------------------------- /Package.resolved: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcharlick/DownloadManager/HEAD/Package.resolved -------------------------------------------------------------------------------- /Package.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcharlick/DownloadManager/HEAD/Package.swift -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcharlick/DownloadManager/HEAD/README.md -------------------------------------------------------------------------------- /Sources/DownloadManager/Download.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcharlick/DownloadManager/HEAD/Sources/DownloadManager/Download.swift -------------------------------------------------------------------------------- /Sources/DownloadManager/DownloadManager.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcharlick/DownloadManager/HEAD/Sources/DownloadManager/DownloadManager.swift -------------------------------------------------------------------------------- /Sources/DownloadManager/DownloadManagerDelegate.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcharlick/DownloadManager/HEAD/Sources/DownloadManager/DownloadManagerDelegate.swift -------------------------------------------------------------------------------- /Sources/DownloadManager/DownloadProgress.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcharlick/DownloadManager/HEAD/Sources/DownloadManager/DownloadProgress.swift -------------------------------------------------------------------------------- /Sources/DownloadManager/DownloadQueue.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcharlick/DownloadManager/HEAD/Sources/DownloadManager/DownloadQueue.swift -------------------------------------------------------------------------------- /Sources/DownloadManager/DownloadState.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcharlick/DownloadManager/HEAD/Sources/DownloadManager/DownloadState.swift -------------------------------------------------------------------------------- /Sources/DownloadManager/MainThreadProtected.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcharlick/DownloadManager/HEAD/Sources/DownloadManager/MainThreadProtected.swift -------------------------------------------------------------------------------- /Tests/DownloadManagerTests/DownloadManagerIntegrationTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcharlick/DownloadManager/HEAD/Tests/DownloadManagerTests/DownloadManagerIntegrationTests.swift -------------------------------------------------------------------------------- /Tests/DownloadManagerTests/DownloadManagerTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcharlick/DownloadManager/HEAD/Tests/DownloadManagerTests/DownloadManagerTests.swift -------------------------------------------------------------------------------- /Tests/DownloadManagerTests/DownloadProgressTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcharlick/DownloadManager/HEAD/Tests/DownloadManagerTests/DownloadProgressTests.swift -------------------------------------------------------------------------------- /Tests/DownloadManagerTests/Helpers.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcharlick/DownloadManager/HEAD/Tests/DownloadManagerTests/Helpers.swift -------------------------------------------------------------------------------- /Tests/DownloadManagerTests/XCTestManifests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcharlick/DownloadManager/HEAD/Tests/DownloadManagerTests/XCTestManifests.swift -------------------------------------------------------------------------------- /Tests/LinuxMain.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcharlick/DownloadManager/HEAD/Tests/LinuxMain.swift --------------------------------------------------------------------------------