diff --git a/.xcode-version b/.xcode-version index 3d3be3c32..fe6b09a7d 100644 --- a/.xcode-version +++ b/.xcode-version @@ -1 +1 @@ -15.0 \ No newline at end of file +15.0 diff --git a/Demo/Pillarbox.playground/Contents.swift b/Demo/Pillarbox.playground/Contents.swift index 3262c62b3..af161db2e 100644 --- a/Demo/Pillarbox.playground/Contents.swift +++ b/Demo/Pillarbox.playground/Contents.swift @@ -7,7 +7,7 @@ // ⚠️ This Playground does not compile with the Pillarbox-demo scheme selected. import AVFoundation -import Player +import PillarboxPlayer import PlaygroundSupport import SwiftUI diff --git a/Demo/Sources/Analytics/DemoTracker.swift b/Demo/Sources/Analytics/DemoTracker.swift index 09b1164f2..06536722e 100644 --- a/Demo/Sources/Analytics/DemoTracker.swift +++ b/Demo/Sources/Analytics/DemoTracker.swift @@ -7,7 +7,7 @@ import Combine import Foundation import os -import Player +import PillarboxPlayer final class DemoTracker: PlayerItemTracker { struct Metadata { diff --git a/Demo/Sources/Application/AppDelegate.swift b/Demo/Sources/Application/AppDelegate.swift index c490ed898..487bb8477 100644 --- a/Demo/Sources/Application/AppDelegate.swift +++ b/Demo/Sources/Application/AppDelegate.swift @@ -4,9 +4,9 @@ // License information is available from the LICENSE file. // -import Analytics import AVFAudio import Combine +import PillarboxAnalytics import ShowTime import SRGDataProvider import UIKit diff --git a/Demo/Sources/Model/Media.swift b/Demo/Sources/Model/Media.swift index f4a8a2557..2c4aeef0f 100644 --- a/Demo/Sources/Model/Media.swift +++ b/Demo/Sources/Model/Media.swift @@ -4,9 +4,9 @@ // License information is available from the LICENSE file. // -import CoreBusiness import Foundation -import Player +import PillarboxCoreBusiness +import PillarboxPlayer struct Media: Hashable { enum `Type`: Hashable { diff --git a/Demo/Sources/Model/ServerSetting.swift b/Demo/Sources/Model/ServerSetting.swift index fb3387418..542728ca8 100644 --- a/Demo/Sources/Model/ServerSetting.swift +++ b/Demo/Sources/Model/ServerSetting.swift @@ -4,7 +4,7 @@ // License information is available from the LICENSE file. // -import CoreBusiness +import PillarboxCoreBusiness import SRGDataProvider @objc diff --git a/Demo/Sources/Players/BasicPlaybackView.swift b/Demo/Sources/Players/BasicPlaybackView.swift index c55aee8d3..6b25646d6 100644 --- a/Demo/Sources/Players/BasicPlaybackView.swift +++ b/Demo/Sources/Players/BasicPlaybackView.swift @@ -5,7 +5,7 @@ // import CoreMedia -import Player +import PillarboxPlayer import SwiftUI #if os(iOS) diff --git a/Demo/Sources/Players/InlineSystemPlayerView.swift b/Demo/Sources/Players/InlineSystemPlayerView.swift index e14a2dcd6..c091e8d9f 100644 --- a/Demo/Sources/Players/InlineSystemPlayerView.swift +++ b/Demo/Sources/Players/InlineSystemPlayerView.swift @@ -4,7 +4,7 @@ // License information is available from the LICENSE file. // -import Player +import PillarboxPlayer import SwiftUI struct InlineSystemPlayerView: View { diff --git a/Demo/Sources/Players/PlaybackView.swift b/Demo/Sources/Players/PlaybackView.swift index 8fe45c572..7a42501aa 100644 --- a/Demo/Sources/Players/PlaybackView.swift +++ b/Demo/Sources/Players/PlaybackView.swift @@ -6,7 +6,7 @@ import AVFoundation import CoreMedia -import Player +import PillarboxPlayer import SwiftUI #if os(iOS) diff --git a/Demo/Sources/Players/PlayerConfiguration.swift b/Demo/Sources/Players/PlayerConfiguration.swift index 4593592e1..5077504ae 100644 --- a/Demo/Sources/Players/PlayerConfiguration.swift +++ b/Demo/Sources/Players/PlayerConfiguration.swift @@ -5,7 +5,7 @@ // import Foundation -import Player +import PillarboxPlayer extension PlayerConfiguration { static var standard: Self { diff --git a/Demo/Sources/Players/PlayerView.swift b/Demo/Sources/Players/PlayerView.swift index f041c3f9e..98ea058b2 100644 --- a/Demo/Sources/Players/PlayerView.swift +++ b/Demo/Sources/Players/PlayerView.swift @@ -4,7 +4,7 @@ // License information is available from the LICENSE file. // -import Player +import PillarboxPlayer import SwiftUI /// A standalone player view with standard controls. diff --git a/Demo/Sources/Players/PlayerViewModel.swift b/Demo/Sources/Players/PlayerViewModel.swift index 181c2e772..0c154230d 100644 --- a/Demo/Sources/Players/PlayerViewModel.swift +++ b/Demo/Sources/Players/PlayerViewModel.swift @@ -5,7 +5,7 @@ // import Combine -import Player +import PillarboxPlayer final class PlayerViewModel: ObservableObject, PictureInPicturePersistable { @Published var media: Media? { diff --git a/Demo/Sources/Players/SimplePlayerView.swift b/Demo/Sources/Players/SimplePlayerView.swift index 44751117e..a643596b5 100644 --- a/Demo/Sources/Players/SimplePlayerView.swift +++ b/Demo/Sources/Players/SimplePlayerView.swift @@ -4,7 +4,7 @@ // License information is available from the LICENSE file. // -import Player +import PillarboxPlayer import SwiftUI // Behavior: h-exp, v-exp diff --git a/Demo/Sources/Players/SystemPlayerView.swift b/Demo/Sources/Players/SystemPlayerView.swift index c018b435b..e72464885 100644 --- a/Demo/Sources/Players/SystemPlayerView.swift +++ b/Demo/Sources/Players/SystemPlayerView.swift @@ -4,7 +4,7 @@ // License information is available from the LICENSE file. // -import Player +import PillarboxPlayer import SwiftUI // Behavior: h-exp, v-exp diff --git a/Demo/Sources/Router/Router.swift b/Demo/Sources/Router/Router.swift index 3ad6760d7..e5ff138ed 100644 --- a/Demo/Sources/Router/Router.swift +++ b/Demo/Sources/Router/Router.swift @@ -5,7 +5,7 @@ // import Combine -import Player +import PillarboxPlayer import SwiftUI /// Manages navigation using an associated router. diff --git a/Demo/Sources/Settings/SettingsView.swift b/Demo/Sources/Settings/SettingsView.swift index a0a194af2..02f00203f 100644 --- a/Demo/Sources/Settings/SettingsView.swift +++ b/Demo/Sources/Settings/SettingsView.swift @@ -5,7 +5,7 @@ // import AVFoundation -import Player +import PillarboxPlayer import SwiftUI private struct UrlCacheView: View { diff --git a/Demo/Sources/Settings/UserDefaults.swift b/Demo/Sources/Settings/UserDefaults.swift index 64ee86be3..6257a92eb 100644 --- a/Demo/Sources/Settings/UserDefaults.swift +++ b/Demo/Sources/Settings/UserDefaults.swift @@ -6,7 +6,7 @@ import AVFoundation import Foundation -import Player +import PillarboxPlayer @objc enum SeekBehaviorSetting: Int { diff --git a/Demo/Sources/Showcase/BlurredView.swift b/Demo/Sources/Showcase/BlurredView.swift index 15189be65..7f46ab919 100644 --- a/Demo/Sources/Showcase/BlurredView.swift +++ b/Demo/Sources/Showcase/BlurredView.swift @@ -4,7 +4,7 @@ // License information is available from the LICENSE file. // -import Player +import PillarboxPlayer import SwiftUI // Behavior: h-exp, v-exp diff --git a/Demo/Sources/Showcase/LinkView.swift b/Demo/Sources/Showcase/LinkView.swift index 52af7f3ac..5a9bf3e93 100644 --- a/Demo/Sources/Showcase/LinkView.swift +++ b/Demo/Sources/Showcase/LinkView.swift @@ -4,7 +4,7 @@ // License information is available from the LICENSE file. // -import Player +import PillarboxPlayer import SwiftUI // Behavior: h-exp, v-exp diff --git a/Demo/Sources/Showcase/Multi/MultiView.swift b/Demo/Sources/Showcase/Multi/MultiView.swift index 93efe9bd9..10a870419 100644 --- a/Demo/Sources/Showcase/Multi/MultiView.swift +++ b/Demo/Sources/Showcase/Multi/MultiView.swift @@ -4,7 +4,7 @@ // License information is available from the LICENSE file. // -import Player +import PillarboxPlayer import SwiftUI // Behavior: h-exp, v-exp diff --git a/Demo/Sources/Showcase/Multi/MultiViewModel.swift b/Demo/Sources/Showcase/Multi/MultiViewModel.swift index 8c1d0aabd..fe506e4d3 100644 --- a/Demo/Sources/Showcase/Multi/MultiViewModel.swift +++ b/Demo/Sources/Showcase/Multi/MultiViewModel.swift @@ -5,7 +5,7 @@ // import Combine -import Player +import PillarboxPlayer enum PlayerPosition { case top diff --git a/Demo/Sources/Showcase/Multi/SingleView.swift b/Demo/Sources/Showcase/Multi/SingleView.swift index 6722971dd..91ff328fa 100644 --- a/Demo/Sources/Showcase/Multi/SingleView.swift +++ b/Demo/Sources/Showcase/Multi/SingleView.swift @@ -4,7 +4,7 @@ // License information is available from the LICENSE file. // -import Player +import PillarboxPlayer import SwiftUI /// Behavior: h-exp, v-exp diff --git a/Demo/Sources/Showcase/OptInView.swift b/Demo/Sources/Showcase/OptInView.swift index 14cfc156b..2b8e462af 100644 --- a/Demo/Sources/Showcase/OptInView.swift +++ b/Demo/Sources/Showcase/OptInView.swift @@ -5,7 +5,7 @@ // import AVFoundation -import Player +import PillarboxPlayer import SwiftUI struct OptInView: View { diff --git a/Demo/Sources/Showcase/Playlist/PlaylistView.swift b/Demo/Sources/Showcase/Playlist/PlaylistView.swift index 014eeb989..049fb8033 100644 --- a/Demo/Sources/Showcase/Playlist/PlaylistView.swift +++ b/Demo/Sources/Showcase/Playlist/PlaylistView.swift @@ -4,7 +4,7 @@ // License information is available from the LICENSE file. // -import Player +import PillarboxPlayer import SwiftUI // Behavior: h-exp, v-exp diff --git a/Demo/Sources/Showcase/Playlist/PlaylistViewModel.swift b/Demo/Sources/Showcase/Playlist/PlaylistViewModel.swift index c073de423..548d394f4 100644 --- a/Demo/Sources/Showcase/Playlist/PlaylistViewModel.swift +++ b/Demo/Sources/Showcase/Playlist/PlaylistViewModel.swift @@ -6,7 +6,7 @@ import Combine import OrderedCollections -import Player +import PillarboxPlayer final class PlaylistViewModel: ObservableObject, PictureInPicturePersistable { static let standardTemplates = [ diff --git a/Demo/Sources/Showcase/SourceCodeViewable.swift b/Demo/Sources/Showcase/SourceCodeViewable.swift index 0b1e50f02..211a72289 100644 --- a/Demo/Sources/Showcase/SourceCodeViewable.swift +++ b/Demo/Sources/Showcase/SourceCodeViewable.swift @@ -4,7 +4,7 @@ // License information is available from the LICENSE file. // -import Player +import PillarboxPlayer import SwiftUI enum GitHub { diff --git a/Demo/Sources/Showcase/Stories/StoriesView.swift b/Demo/Sources/Showcase/Stories/StoriesView.swift index cb5546e8e..a2f4a684a 100644 --- a/Demo/Sources/Showcase/Stories/StoriesView.swift +++ b/Demo/Sources/Showcase/Stories/StoriesView.swift @@ -5,7 +5,7 @@ // import AVFoundation -import Player +import PillarboxPlayer import SwiftUI // Behavior: h-exp, v-exp diff --git a/Demo/Sources/Showcase/Stories/StoriesViewModel.swift b/Demo/Sources/Showcase/Stories/StoriesViewModel.swift index fb824fda0..3d3eb499e 100644 --- a/Demo/Sources/Showcase/Stories/StoriesViewModel.swift +++ b/Demo/Sources/Showcase/Stories/StoriesViewModel.swift @@ -6,7 +6,7 @@ import Combine import OrderedCollections -import Player +import PillarboxPlayer final class StoriesViewModel: ObservableObject { private static let preloadDistance = 1 diff --git a/Demo/Sources/Showcase/TransitionView.swift b/Demo/Sources/Showcase/TransitionView.swift index 9080e9592..7bc113a3d 100644 --- a/Demo/Sources/Showcase/TransitionView.swift +++ b/Demo/Sources/Showcase/TransitionView.swift @@ -5,7 +5,7 @@ // import AVFoundation -import Player +import PillarboxPlayer import SwiftUI private struct FullScreenView: View { diff --git a/Demo/Sources/Showcase/TwinsView.swift b/Demo/Sources/Showcase/TwinsView.swift index 68da1539f..d1de39e8c 100644 --- a/Demo/Sources/Showcase/TwinsView.swift +++ b/Demo/Sources/Showcase/TwinsView.swift @@ -4,7 +4,7 @@ // License information is available from the LICENSE file. // -import Player +import PillarboxPlayer import SwiftUI // Behavior: h-exp, v-exp diff --git a/Demo/Sources/Showcase/Wrapped/WrappedView.swift b/Demo/Sources/Showcase/Wrapped/WrappedView.swift index 55b1087c4..cd66215dd 100644 --- a/Demo/Sources/Showcase/Wrapped/WrappedView.swift +++ b/Demo/Sources/Showcase/Wrapped/WrappedView.swift @@ -4,7 +4,7 @@ // License information is available from the LICENSE file. // -import Player +import PillarboxPlayer import SwiftUI // Behavior: h-exp, v-exp diff --git a/Demo/Sources/Showcase/Wrapped/WrappedViewModel.swift b/Demo/Sources/Showcase/Wrapped/WrappedViewModel.swift index acbe65c05..6769bef97 100644 --- a/Demo/Sources/Showcase/Wrapped/WrappedViewModel.swift +++ b/Demo/Sources/Showcase/Wrapped/WrappedViewModel.swift @@ -5,7 +5,7 @@ // import Combine -import Player +import PillarboxPlayer final class WrappedViewModel: ObservableObject { @Published var player = Player(configuration: .externalPlaybackDisabled) diff --git a/Demo/Sources/Tools/MotionManager~ios.swift b/Demo/Sources/Tools/MotionManager~ios.swift index e3ed4bb17..464db01e7 100644 --- a/Demo/Sources/Tools/MotionManager~ios.swift +++ b/Demo/Sources/Tools/MotionManager~ios.swift @@ -6,7 +6,7 @@ import Combine import CoreMotion -import Player +import PillarboxPlayer final class MotionManager: ObservableObject { @Published private(set) var attitude: CMAttitude? diff --git a/Demo/Sources/Views/MonoscopicVideoView~ios.swift b/Demo/Sources/Views/MonoscopicVideoView~ios.swift index 362ec11c7..5b72f0e1b 100644 --- a/Demo/Sources/Views/MonoscopicVideoView~ios.swift +++ b/Demo/Sources/Views/MonoscopicVideoView~ios.swift @@ -4,7 +4,7 @@ // License information is available from the LICENSE file. // -import Player +import PillarboxPlayer import SceneKit import SwiftUI diff --git a/Demo/Sources/Views/PiPButton.swift b/Demo/Sources/Views/PiPButton.swift index cfc1b95e6..9e2b8b67a 100644 --- a/Demo/Sources/Views/PiPButton.swift +++ b/Demo/Sources/Views/PiPButton.swift @@ -4,7 +4,7 @@ // License information is available from the LICENSE file. // -import Player +import PillarboxPlayer import SwiftUI struct PiPButton: View { diff --git a/Demo/Sources/Views/PlaybackSlider~ios.swift b/Demo/Sources/Views/PlaybackSlider~ios.swift index a89de7271..80b1732b0 100644 --- a/Demo/Sources/Views/PlaybackSlider~ios.swift +++ b/Demo/Sources/Views/PlaybackSlider~ios.swift @@ -4,7 +4,7 @@ // License information is available from the LICENSE file. // -import Player +import PillarboxPlayer import SwiftUI struct PlaybackSlider: View where ValueLabel: View { diff --git a/Demo/Tutorials/OptimizingCustomLayouts1~ios.swift b/Demo/Tutorials/OptimizingCustomLayouts1~ios.swift index da491ef59..d5218c5a6 100644 --- a/Demo/Tutorials/OptimizingCustomLayouts1~ios.swift +++ b/Demo/Tutorials/OptimizingCustomLayouts1~ios.swift @@ -4,8 +4,8 @@ // License information is available from the LICENSE file. // -import Core -import Player +import PillarboxCore +import PillarboxPlayer import SwiftUI private struct ProgressSlider: View { diff --git a/Demo/Tutorials/OptimizingCustomLayouts2~ios.swift b/Demo/Tutorials/OptimizingCustomLayouts2~ios.swift index 8f20f7b1b..a5e80dfdd 100644 --- a/Demo/Tutorials/OptimizingCustomLayouts2~ios.swift +++ b/Demo/Tutorials/OptimizingCustomLayouts2~ios.swift @@ -4,8 +4,8 @@ // License information is available from the LICENSE file. // -import Core -import Player +import PillarboxCore +import PillarboxPlayer import SwiftUI private struct BufferingView: View { diff --git a/Demo/Tutorials/PinchToZoomTutorial~ios.swift b/Demo/Tutorials/PinchToZoomTutorial~ios.swift index 4d756ece1..5f309fb20 100644 --- a/Demo/Tutorials/PinchToZoomTutorial~ios.swift +++ b/Demo/Tutorials/PinchToZoomTutorial~ios.swift @@ -5,7 +5,7 @@ // import AVFoundation -import Player +import PillarboxPlayer import SwiftUI struct PinchToZoomTutorial: View { diff --git a/Demo/Tutorials/SupportingBasicPictureInPicture.swift b/Demo/Tutorials/SupportingBasicPictureInPicture.swift index 9dc3a3c75..a0a2ecde5 100644 --- a/Demo/Tutorials/SupportingBasicPictureInPicture.swift +++ b/Demo/Tutorials/SupportingBasicPictureInPicture.swift @@ -4,7 +4,7 @@ // License information is available from the LICENSE file. // -import Player +import PillarboxPlayer import SwiftUI struct SupportingBasicPictureInPicture: View { diff --git a/Demo/Tutorials/TrackingProgressTutorial~ios.swift b/Demo/Tutorials/TrackingProgressTutorial~ios.swift index abadbfbef..c9773b619 100644 --- a/Demo/Tutorials/TrackingProgressTutorial~ios.swift +++ b/Demo/Tutorials/TrackingProgressTutorial~ios.swift @@ -4,7 +4,7 @@ // License information is available from the LICENSE file. // -import Player +import PillarboxPlayer import SwiftUI struct TrackingProgressTutorial: View { diff --git a/Demo/Tutorials/TrackingVisibilityTutorial~ios.swift b/Demo/Tutorials/TrackingVisibilityTutorial~ios.swift index eadd1276e..a65828f94 100644 --- a/Demo/Tutorials/TrackingVisibilityTutorial~ios.swift +++ b/Demo/Tutorials/TrackingVisibilityTutorial~ios.swift @@ -4,7 +4,7 @@ // License information is available from the LICENSE file. // -import Player +import PillarboxPlayer import SwiftUI struct TrackingVisibilityTutorial: View { diff --git a/Gemfile.lock b/Gemfile.lock index 3b20f1756..377fcb47f 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -3,26 +3,26 @@ GEM specs: CFPropertyList (3.0.6) rexml - addressable (2.8.5) + addressable (2.8.6) public_suffix (>= 2.0.2, < 6.0) artifactory (3.0.15) ast (2.4.2) atomos (0.1.3) aws-eventstream (1.3.0) - aws-partitions (1.859.0) - aws-sdk-core (3.188.0) - aws-eventstream (~> 1, >= 1.0.2) + aws-partitions (1.877.0) + aws-sdk-core (3.190.1) + aws-eventstream (~> 1, >= 1.3.0) aws-partitions (~> 1, >= 1.651.0) - aws-sigv4 (~> 1.5) + aws-sigv4 (~> 1.8) jmespath (~> 1, >= 1.6.1) - aws-sdk-kms (1.73.0) + aws-sdk-kms (1.75.0) aws-sdk-core (~> 3, >= 3.188.0) aws-sigv4 (~> 1.1) - aws-sdk-s3 (1.140.0) - aws-sdk-core (~> 3, >= 3.188.0) + aws-sdk-s3 (1.142.0) + aws-sdk-core (~> 3, >= 3.189.0) aws-sdk-kms (~> 1) - aws-sigv4 (~> 1.6) - aws-sigv4 (1.7.0) + aws-sigv4 (~> 1.8) + aws-sigv4 (1.8.0) aws-eventstream (~> 1, >= 1.0.2) babosa (1.0.4) badge (0.13.0) @@ -40,7 +40,7 @@ GEM domain_name (0.6.20231109) dotenv (2.8.1) emoji_regex (3.2.3) - excon (0.104.0) + excon (0.109.0) faraday (1.10.3) faraday-em_http (~> 1.0) faraday-em_synchrony (~> 1.0) @@ -69,8 +69,8 @@ GEM faraday-retry (1.0.3) faraday_middleware (1.2.0) faraday (~> 1.0) - fastimage (2.2.7) - fastlane (2.217.0) + fastimage (2.3.0) + fastlane (2.218.0) CFPropertyList (>= 2.3, < 4.0.0) addressable (>= 2.8, < 3.0.0) artifactory (~> 3.0) @@ -97,7 +97,7 @@ GEM mini_magick (>= 4.9.4, < 5.0.0) multipart-post (>= 2.0.0, < 3.0.0) naturally (~> 2.2) - optparse (~> 0.1.1) + optparse (>= 0.1.1) plist (>= 3.1.0, < 4.0.0) rubyzip (>= 2.0.0, < 3.0.0) security (= 0.1.3) @@ -114,7 +114,7 @@ GEM badge (~> 0.13.0) fastlane-plugin-xcconfig (2.0.0) gh_inspector (1.1.3) - google-apis-androidpublisher_v3 (0.53.0) + google-apis-androidpublisher_v3 (0.54.0) google-apis-core (>= 0.11.0, < 2.a) google-apis-core (0.11.2) addressable (~> 2.5, >= 2.5.1) @@ -131,11 +131,11 @@ GEM google-apis-core (>= 0.11.0, < 2.a) google-apis-storage_v1 (0.29.0) google-apis-core (>= 0.11.0, < 2.a) - google-cloud-core (1.6.0) - google-cloud-env (~> 1.0) + google-cloud-core (1.6.1) + google-cloud-env (>= 1.0, < 3.a) google-cloud-errors (~> 1.0) - google-cloud-env (1.6.0) - faraday (>= 0.17.3, < 3.0) + google-cloud-env (2.1.0) + faraday (>= 1.0, < 3.a) google-cloud-errors (1.3.1) google-cloud-storage (1.45.0) addressable (~> 2.8) @@ -145,8 +145,9 @@ GEM google-cloud-core (~> 1.6) googleauth (>= 0.16.2, < 2.a) mini_mime (~> 1.0) - googleauth (1.8.1) - faraday (>= 0.17.3, < 3.a) + googleauth (1.9.1) + faraday (>= 1.0, < 3.a) + google-cloud-env (~> 2.1) jwt (>= 1.4, < 3.0) multi_json (~> 1.11) os (>= 0.9, < 2.0) @@ -156,7 +157,7 @@ GEM domain_name (~> 0.5) httpclient (2.8.3) jmespath (1.6.2) - json (2.6.3) + json (2.7.1) jwt (2.7.1) language_server-protocol (3.17.0.3) mini_magick (4.12.0) @@ -165,13 +166,13 @@ GEM multipart-post (2.3.0) nanaimo (0.3.0) naturally (2.2.1) - optparse (0.1.1) + optparse (0.4.0) os (1.1.4) parallel (1.23.0) parser (3.2.2.4) ast (~> 2.4.1) racc - plist (3.7.0) + plist (3.7.1) public_suffix (5.0.4) racc (1.7.3) rainbow (3.1.1) @@ -214,7 +215,7 @@ GEM unicode-display_width (>= 1.1.1, < 3) trailblazer-option (0.1.2) tty-cursor (0.7.1) - tty-screen (0.8.1) + tty-screen (0.8.2) tty-spinner (0.9.3) tty-cursor (~> 0.7) uber (0.1.0) diff --git a/Package.resolved b/Package.resolved index 4dd7435b1..783c86015 100644 --- a/Package.resolved +++ b/Package.resolved @@ -41,8 +41,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/CommandersAct/iOSV5.git", "state" : { - "revision" : "bff12bbf890409182a055999985a28b4608b9b14", - "version" : "5.4.2" + "revision" : "c80f2e0465f3e7f4a0e26125c535a059c785cb8a", + "version" : "5.4.3" } }, { @@ -50,8 +50,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/Quick/Nimble.git", "state" : { - "revision" : "edaedc1ec86f14ac6e2ca495b94f0ff7150d98d0", - "version" : "12.3.0" + "revision" : "f0b14e200e39921d1df720e305f11ca6acb72a17", + "version" : "13.1.1" } }, { @@ -59,8 +59,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/apple/swift-collections.git", "state" : { - "revision" : "a902f1823a7ff3c9ab2fba0f992396b948eda307", - "version" : "1.0.5" + "revision" : "d029d9d39c87bed85b1c50adee7c41795261a192", + "version" : "1.0.6" } }, { diff --git a/Package.swift b/Package.swift index b1d17921c..e4765e4d1 100644 --- a/Package.swift +++ b/Package.swift @@ -11,23 +11,23 @@ let package = Package( products: [ .library( name: "Analytics", - targets: ["Analytics"] + targets: ["PillarboxAnalytics"] ), .library( name: "Circumspect", - targets: ["Circumspect"] + targets: ["PillarboxCircumspect"] ), .library( name: "Core", - targets: ["Core"] + targets: ["PillarboxCore"] ), .library( name: "CoreBusiness", - targets: ["CoreBusiness"] + targets: ["PillarboxCoreBusiness"] ), .library( name: "Player", - targets: ["Player"] + targets: ["PillarboxPlayer"] ) ], dependencies: [ @@ -40,13 +40,14 @@ let package = Package( ], targets: [ .target( - name: "Analytics", + name: "PillarboxAnalytics", dependencies: [ - .target(name: "Player"), + .target(name: "PillarboxPlayer"), .product(name: "ComScore", package: "Comscore-Swift-Package-Manager"), .product(name: "TCCore", package: "iOSV5"), .product(name: "TCServerSide", package: "iOSV5") ], + path: "Sources/Analytics", linkerSettings: [ .linkedFramework("AdSupport") ], @@ -54,12 +55,16 @@ let package = Package( .plugin(name: "PackageInfoPlugin") ] ), - .target(name: "Core"), .target( - name: "CoreBusiness", + name: "PillarboxCore", + path: "Sources/Core" + ), + .target( + name: "PillarboxCoreBusiness", dependencies: [ - .target(name: "Analytics") + .target(name: "PillarboxAnalytics") ], + path: "Sources/CoreBusiness", resources: [ .process("Resources") ], @@ -68,19 +73,21 @@ let package = Package( ] ), .target( - name: "Circumspect", + name: "PillarboxCircumspect", dependencies: [ .product(name: "Difference", package: "Difference"), .product(name: "Nimble", package: "Nimble") - ] + ], + path: "Sources/Circumspect" ), .target( - name: "Player", + name: "PillarboxPlayer", dependencies: [ - .target(name: "Core"), + .target(name: "PillarboxCore"), .product(name: "DequeModule", package: "swift-collections"), .product(name: "TimelaneCombine", package: "TimelaneCombine") ], + path: "Sources/Player", resources: [ .process("Resources") ], @@ -89,7 +96,8 @@ let package = Package( ] ), .target( - name: "Streams", + name: "PillarboxStreams", + path: "Sources/Streams", resources: [ .process("Resources") ] @@ -105,37 +113,37 @@ let package = Package( .testTarget( name: "AnalyticsTests", dependencies: [ - .target(name: "Analytics"), - .target(name: "Circumspect"), - .target(name: "Streams") + .target(name: "PillarboxAnalytics"), + .target(name: "PillarboxCircumspect"), + .target(name: "PillarboxStreams") ] ), .testTarget( name: "CircumspectTests", dependencies: [ - .target(name: "Circumspect") + .target(name: "PillarboxCircumspect") ] ), .testTarget( name: "CoreTests", dependencies: [ - .target(name: "Circumspect"), - .target(name: "Core") + .target(name: "PillarboxCircumspect"), + .target(name: "PillarboxCore") ] ), .testTarget( name: "CoreBusinessTests", dependencies: [ - .target(name: "Circumspect"), - .target(name: "CoreBusiness") + .target(name: "PillarboxCircumspect"), + .target(name: "PillarboxCoreBusiness") ] ), .testTarget( name: "PlayerTests", dependencies: [ - .target(name: "Circumspect"), - .target(name: "Player"), - .target(name: "Streams"), + .target(name: "PillarboxCircumspect"), + .target(name: "PillarboxPlayer"), + .target(name: "PillarboxStreams"), .product(name: "OrderedCollections", package: "swift-collections") ] ) diff --git a/README.md b/README.md index 6e4ad0b6d..0a2979ce6 100644 --- a/README.md +++ b/README.md @@ -46,7 +46,7 @@ From left to right: With Pillarbox creating a custom video player user interface has never been easier. Simply instantiate a `Player` and start building your user interface in SwiftUI right away: ```swift -import Player +import PillarboxPlayer import SwiftUI struct PlayerView: View { diff --git a/Sources/Analytics/Analytics.docc/analytics.md b/Sources/Analytics/Analytics.docc/PillarboxAnalytics.md similarity index 67% rename from Sources/Analytics/Analytics.docc/analytics.md rename to Sources/Analytics/Analytics.docc/PillarboxAnalytics.md index b4f63d548..0feef2cd6 100644 --- a/Sources/Analytics/Analytics.docc/analytics.md +++ b/Sources/Analytics/Analytics.docc/PillarboxAnalytics.md @@ -1,4 +1,4 @@ -# ``Analytics`` +# ``PillarboxAnalytics`` @Metadata { @PageColor(green) @@ -8,7 +8,7 @@ Measure app usage according to SRG SSR requirements. ## Overview -The Analytics framework provides a toolbox to measure app usage according to SRG SSR requirements: +The PillarboxAnalytics framework provides a toolbox to measure app usage according to SRG SSR requirements: - Analytics for internal usage, gathered using [Commanders Act](https://www.commandersact.com) analytics SDK. - Analytics for [Mediapulse](https://www.mediapulse.ch), an organization charged with collecting media consumption data in Switzerland. These measurements are forwarded using [comScore](https://www.comscore.com/) analytics SDK. @@ -17,26 +17,26 @@ The Analytics framework provides a toolbox to measure app usage according to SRG ### Measure app usage -The Analytics framework lets you measure application usage in two ways: +The PillarboxAnalytics framework lets you measure application usage in two ways: - - -> Important: Streaming measurements are automatically collected when playing SRG SSR content using the CoreBusiness framework. Just ensure that tracking has been properly setup first. Please refer to for more information. +> Important: Streaming measurements are automatically collected when playing SRG SSR content using the PillarboxCoreBusiness framework. Just ensure that tracking has been properly setup first. Please refer to for more information. ### Transparency and data protection -To comply with the Swiss [New Federal Act on Data Protection (nFADP)](https://www.kmu.admin.ch/kmu/en/home/facts-and-trends/digitization/data-protection/new-federal-act-on-data-protection-nfadp.html) apps must implement some form of user consent management. Please read for more information about how you can provide user consent information to the Analytics framework. +To comply with the Swiss [New Federal Act on Data Protection (nFADP)](https://www.kmu.admin.ch/kmu/en/home/facts-and-trends/digitization/data-protection/new-federal-act-on-data-protection-nfadp.html) apps must implement some form of user consent management. Please read for more information about how you can provide user consent information to the PillarboxAnalytics framework. #### AdSupport and Identifier for advertisers (IDFA) -The Analytics framework always links against [AdSupport](https://developer.apple.com/documentation/adsupport) but the [IDFA](https://developer.apple.com/documentation/adsupport/asidentifiermanager/advertisingidentifier) is never used or shared by the Analytics framework. +The PillarboxAnalytics framework always links against [AdSupport](https://developer.apple.com/documentation/adsupport) but the [IDFA](https://developer.apple.com/documentation/adsupport/asidentifiermanager/advertisingidentifier) is never used or shared by the PillarboxAnalytics framework. > Important: SRG SSR apps must not implement [App Tracking Transparency](https://developer.apple.com/documentation/apptrackingtransparency). This ensures that the IDFA can never be read unintentionally. ### App Privacy details -When submitting an app to the App Store you must provide [App Privacy details](https://developer.apple.com/app-store/app-privacy-details/). The Analytics framework collects Identifiers (User ID) and usage data (Product Interaction) but never linked to a user. +When submitting an app to the App Store you must provide [App Privacy details](https://developer.apple.com/app-store/app-privacy-details/). The PillarboxAnalytics framework collects Identifiers (User ID) and usage data (Product Interaction) but never linked to a user. ### Validation diff --git a/Sources/Analytics/Analytics.docc/events.md b/Sources/Analytics/Analytics.docc/events.md index ac48048da..d14df8d60 100644 --- a/Sources/Analytics/Analytics.docc/events.md +++ b/Sources/Analytics/Analytics.docc/events.md @@ -10,7 +10,7 @@ Better understand how your app functionalities are used. As a product team you need to better understand which features are popular and which ones aren't. -The Analytics framework provides a way to send arbitrary events so that your analysts can better understand your users and help you lead your product in the right direction. +The PillarboxAnalytics framework provides a way to send arbitrary events so that your analysts can better understand your users and help you lead your product in the right direction. > Important: Tracking must be properly setup first. Please refer to for more information. diff --git a/Sources/Analytics/Analytics.docc/page-views.md b/Sources/Analytics/Analytics.docc/page-views.md index c8b7d7934..361f111b0 100644 --- a/Sources/Analytics/Analytics.docc/page-views.md +++ b/Sources/Analytics/Analytics.docc/page-views.md @@ -8,7 +8,7 @@ Identify where users navigate within your app. ## Overview -As a product team you need to better understand where users navigate within your app. The Analytics framework provides a way to track views as they are brought on screen. This makes it possible to improve on user journeys and make your content more discoverable. +As a product team you need to better understand where users navigate within your app. The PillarboxAnalytics framework provides a way to track views as they are brought on screen. This makes it possible to improve on user journeys and make your content more discoverable. > Important: Tracking must be properly setup first. Please refer to for more information. @@ -64,7 +64,7 @@ private extension HomeView { ### Track page views in UIKit -View controllers commonly represent screens in a UIKit application. The Analytics framework provides a streamlined way to associate page view data with a view controller by having it conform to the ``PageViewTracking`` protocol: +View controllers commonly represent screens in a UIKit application. The PillarboxAnalytics framework provides a streamlined way to associate page view data with a view controller by having it conform to the ``PageViewTracking`` protocol: ```swift final class HomeViewController: UIViewController { @@ -103,7 +103,7 @@ Only a container can namely decide for which child (or children) page views shou - If page views must be automatically forwarded to all children of a container no additional work is required. - If page views must be automatically forwarded to only selected children, though, then a container must conform to the `ContainerPageViewTracking` protocol to declare which children must be considered active for measurements. -> Tip: The Analytics framework provides native support for standard UIKit containers without any additional work. +> Tip: The PillarboxAnalytics framework provides native support for standard UIKit containers without any additional work. ### Trigger page views manually diff --git a/Sources/Analytics/Analytics.docc/user-consent.md b/Sources/Analytics/Analytics.docc/user-consent.md index 3b51ec6a0..ba88da13a 100644 --- a/Sources/Analytics/Analytics.docc/user-consent.md +++ b/Sources/Analytics/Analytics.docc/user-consent.md @@ -8,9 +8,9 @@ Take into account user choices about the data they are willing to share. ## Overview -The Analytics framework does not directly implement user consent management but provides a way to forward user consent choices to the Commanders Act and comScore SDKs so that user wishes can be properly taken into account at the data processing level. +The PillarboxAnalytics framework does not directly implement user consent management but provides a way to forward user consent choices to the Commanders Act and comScore SDKs so that user wishes can be properly taken into account at the data processing level. -> Note: Do not worry if you observe analytics-related network traffic with a proxy tool like [Charles](https://www.charlesproxy.com). The Analytics framework still sends data but user consent is transmitted in each request payload for server-side processing. +> Note: Do not worry if you observe analytics-related network traffic with a proxy tool like [Charles](https://www.charlesproxy.com). The PillarboxAnalytics framework still sends data but user consent is transmitted in each request payload for server-side processing. ### Setup an analytics data source diff --git a/Sources/Analytics/ComScore/ComScoreStreamingAnalytics.swift b/Sources/Analytics/ComScore/ComScoreStreamingAnalytics.swift index cfc0cf83c..7b302eb52 100644 --- a/Sources/Analytics/ComScore/ComScoreStreamingAnalytics.swift +++ b/Sources/Analytics/ComScore/ComScoreStreamingAnalytics.swift @@ -6,7 +6,7 @@ import ComScore import CoreMedia -import Player +import PillarboxPlayer final class ComScoreStreamingAnalytics: SCORStreamingAnalytics { private var oldRate: Float? diff --git a/Sources/Analytics/ComScore/ComScoreTracker.swift b/Sources/Analytics/ComScore/ComScoreTracker.swift index 57e1b27a9..78f94ed1a 100644 --- a/Sources/Analytics/ComScore/ComScoreTracker.swift +++ b/Sources/Analytics/ComScore/ComScoreTracker.swift @@ -5,7 +5,7 @@ // import ComScore -import Player +import PillarboxPlayer import UIKit /// A comScore tracker for streaming. diff --git a/Sources/Analytics/CommandersAct/CommandersActStreamingAnalytics.swift b/Sources/Analytics/CommandersAct/CommandersActStreamingAnalytics.swift index bd212fd02..d2c479a98 100644 --- a/Sources/Analytics/CommandersAct/CommandersActStreamingAnalytics.swift +++ b/Sources/Analytics/CommandersAct/CommandersActStreamingAnalytics.swift @@ -7,7 +7,7 @@ import Combine import CoreMedia import Foundation -import Player +import PillarboxPlayer final class CommandersActStreamingAnalytics { var lastEvent: Event = .none diff --git a/Sources/Analytics/CommandersAct/CommandersActTracker.swift b/Sources/Analytics/CommandersAct/CommandersActTracker.swift index fabf92d02..1526316fb 100644 --- a/Sources/Analytics/CommandersAct/CommandersActTracker.swift +++ b/Sources/Analytics/CommandersAct/CommandersActTracker.swift @@ -7,7 +7,7 @@ import AVFoundation import Combine import Foundation -import Player +import PillarboxPlayer /// A Commanders Act tracker for streaming. /// diff --git a/Sources/Circumspect/Circumspect.docc/Circumspect.md b/Sources/Circumspect/Circumspect.docc/Circumspect.md deleted file mode 100644 index 69762f375..000000000 --- a/Sources/Circumspect/Circumspect.docc/Circumspect.md +++ /dev/null @@ -1,3 +0,0 @@ -# ``Circumspect`` - -The Circumspect library provides tools for more expressive unit testing. diff --git a/Sources/Circumspect/Circumspect.docc/PillarboxCircumspect.md b/Sources/Circumspect/Circumspect.docc/PillarboxCircumspect.md new file mode 100644 index 000000000..426f0c3a2 --- /dev/null +++ b/Sources/Circumspect/Circumspect.docc/PillarboxCircumspect.md @@ -0,0 +1,3 @@ +# ``PillarboxCircumspect`` + +The PillarboxCircumspect library provides tools for more expressive unit testing. diff --git a/Sources/Core/Core.docc/Core.md b/Sources/Core/Core.docc/Core.md deleted file mode 100644 index a45a910e5..000000000 --- a/Sources/Core/Core.docc/Core.md +++ /dev/null @@ -1,3 +0,0 @@ -# ``Core`` - -The Core library provides common tools which might be useful for applications using Pillarbox. diff --git a/Sources/Core/Core.docc/PillarboxCore.md b/Sources/Core/Core.docc/PillarboxCore.md new file mode 100644 index 000000000..61616d380 --- /dev/null +++ b/Sources/Core/Core.docc/PillarboxCore.md @@ -0,0 +1,3 @@ +# ``PillarboxCore`` + +The PillarboxCore framework provides common tools which might be useful for applications using Pillarbox. diff --git a/Sources/CoreBusiness/CoreBusiness.docc/CoreBusiness.md b/Sources/CoreBusiness/CoreBusiness.docc/PillarboxCoreBusiness.md similarity index 68% rename from Sources/CoreBusiness/CoreBusiness.docc/CoreBusiness.md rename to Sources/CoreBusiness/CoreBusiness.docc/PillarboxCoreBusiness.md index fbb07986f..ecaadab24 100644 --- a/Sources/CoreBusiness/CoreBusiness.docc/CoreBusiness.md +++ b/Sources/CoreBusiness/CoreBusiness.docc/PillarboxCoreBusiness.md @@ -1,24 +1,24 @@ -# ``CoreBusiness`` +# ``PillarboxCoreBusiness`` @Metadata { @PageColor(yellow) } -Play SRG SSR content with the Player framework. +Play SRG SSR content with the PillarboxPlayer framework. ## Overview -The CoreBusiness framework provides standard SRG SSR business integration: +The PillarboxCoreBusiness framework provides standard SRG SSR business integration: - Player items to load content delivered by the Integration Layer. - Streaming analytics according to SRG SSR requirements. -> Important: Streaming measurements are automatically collected when playing SRG SSR content using the CoreBusiness framework. Just ensure that tracking has been properly setup first. Please refer to the Analytics documentation for more information. +> Important: Streaming measurements are automatically collected when playing SRG SSR content using the PillarboxCoreBusiness framework. Just ensure that tracking has been properly setup first. Please refer to the Analytics documentation for more information. ### Play SRG SSR content -To play an SRG SSR content simply create a `PlayerItem` with ``Player/PlayerItem/urn(_:server:trackerAdapters:)``, passing the URN of the content as parameter. Then load it into a `Player`. +To play an SRG SSR content simply create a `PlayerItem` with ``PillarboxPlayer/PlayerItem/urn(_:server:trackerAdapters:)``, passing the URN of the content as parameter. Then load it into a `Player`. You can optionally change the server or add additional custom player item trackers. Standard SRG SSR trackers cannot be disabled. diff --git a/Sources/CoreBusiness/Model/MediaMetadata.swift b/Sources/CoreBusiness/Model/MediaMetadata.swift index 1079f84a1..9269e11be 100644 --- a/Sources/CoreBusiness/Model/MediaMetadata.swift +++ b/Sources/CoreBusiness/Model/MediaMetadata.swift @@ -4,7 +4,7 @@ // License information is available from the LICENSE file. // -import Player +import PillarboxPlayer import UIKit /// Metadata associated with content loaded from a URN. diff --git a/Sources/CoreBusiness/Model/Resource.swift b/Sources/CoreBusiness/Model/Resource.swift index 774f2c667..b845bd71c 100644 --- a/Sources/CoreBusiness/Model/Resource.swift +++ b/Sources/CoreBusiness/Model/Resource.swift @@ -5,7 +5,7 @@ // import Foundation -import Player +import PillarboxPlayer /// A description of a playable resource. public struct Resource: Decodable { diff --git a/Sources/CoreBusiness/PlayerItem.swift b/Sources/CoreBusiness/PlayerItem.swift index 6573b1a77..cc127c45a 100644 --- a/Sources/CoreBusiness/PlayerItem.swift +++ b/Sources/CoreBusiness/PlayerItem.swift @@ -4,10 +4,10 @@ // License information is available from the LICENSE file. // -import Analytics import AVFoundation import Combine -import Player +import PillarboxAnalytics +import PillarboxPlayer public extension PlayerItem { /// Creates a player item from a URN. diff --git a/Sources/CoreBusiness/ResourceLoading/ContentKeySessionDelegate.swift b/Sources/CoreBusiness/ResourceLoading/ContentKeySessionDelegate.swift index 3be2f517a..e40746a98 100644 --- a/Sources/CoreBusiness/ResourceLoading/ContentKeySessionDelegate.swift +++ b/Sources/CoreBusiness/ResourceLoading/ContentKeySessionDelegate.swift @@ -5,7 +5,7 @@ // import AVFoundation -import Player +import PillarboxPlayer final class ContentKeySessionDelegate: NSObject, AVContentKeySessionDelegate { private let certificateUrl: URL diff --git a/Sources/Player/Player.docc/Articles/control-center/control-center.md b/Sources/Player/Player.docc/Articles/control-center/control-center.md index a8d0d1d0c..40eceaf3d 100644 --- a/Sources/Player/Player.docc/Articles/control-center/control-center.md +++ b/Sources/Player/Player.docc/Articles/control-center/control-center.md @@ -22,7 +22,7 @@ The main responsibility of a ``PlayerItem`` loaded into a ``Player`` is to deliv To associate Control Center metadata with a player item: 1. Create a type which represents your asset metadata and have it conform to ``AssetMetadata``. -2. Implement the ``AssetMetadata/nowPlayingMetadata()-7i4ih`` method and return the ``NowPlayingMetadata`` which must be displayed in the Control Center when the item is currently being played. +2. Implement the ``AssetMetadata/nowPlayingMetadata()-5kft8`` method and return the ``NowPlayingMetadata`` which must be displayed in the Control Center when the item is currently being played. 3. Implement a custom ``PlayerItem`` with a metadata publisher retrieving all metadata required before delivering an asset. Alternatively, and provided you have all metadata and the URL to be played readily available, you can simply use one of the available ``PlayerItem`` construction helpers, supplying the asset metadata at creation time. ### Make a player instance active diff --git a/Sources/Player/Player.docc/Articles/state-observation/state-observation.md b/Sources/Player/Player.docc/Articles/state-observation/state-observation.md index 1b4955074..52aaed41e 100644 --- a/Sources/Player/Player.docc/Articles/state-observation/state-observation.md +++ b/Sources/Player/Player.docc/Articles/state-observation/state-observation.md @@ -9,7 +9,7 @@ Learn how to observe state associated with a player. ## Overview -The Player framework heavily relies on [Combine](https://developer.apple.com/documentation/combine), [`ObservableObject`](https://developer.apple.com/documentation/combine/observableobject) and published properties. This makes it possible for SwiftUI views to automatically observe and respond to change. +The PillarboxPlayer framework heavily relies on [Combine](https://developer.apple.com/documentation/combine), [`ObservableObject`](https://developer.apple.com/documentation/combine/observableobject) and published properties. This makes it possible for SwiftUI views to automatically observe and respond to change. Unsupervised property publishing can lead to an explosion of updates sent from an observable object, though, leading to potentially unnecessary SwiftUI view body refreshes, poor layout performance and energy consumption issues. @@ -146,7 +146,7 @@ Having your whole user interface refreshed every 1/10th of a second is not requi Here are a few tips to help you identify and fix superfluous refreshes in your layouts: -- Use the `View/_debugBodyCounter()` modifier available from the Core framework to identify which views are refreshed unnecessarily often. +- Use the `View/_debugBodyCounter()` modifier available from the PillarboxCore framework to identify which views are refreshed unnecessarily often. - Extract views that require higher refresh rates into subviews so that ``ProgressTracker`` or explicit subscriptions using ``SwiftUI/View/onReceive(player:assign:to:)`` only affect smaller subsets of your view hierarchy. - Use the `View/_debugBodyCounter()` modifier to check your layout again after optimization. diff --git a/Sources/Player/Player.docc/Articles/stream-packaging-advice.md b/Sources/Player/Player.docc/Articles/stream-packaging-advice.md index eb872b050..c15ca0738 100644 --- a/Sources/Player/Player.docc/Articles/stream-packaging-advice.md +++ b/Sources/Player/Player.docc/Articles/stream-packaging-advice.md @@ -4,11 +4,11 @@ @PageColor(purple) } -Package streams for optimal compatibility with the Player framework. +Package streams for optimal compatibility with the PillarboxPlayer framework. ## Overview -The optimal playback experience which can be obtained with the Player framework requires streams to be packaged accordingly. This most notably affects the ability of the player to automatically apply default media selections as well as the quality of its scrubbing user experience. +The optimal playback experience which can be obtained with the PillarboxPlayer framework requires streams to be packaged accordingly. This most notably affects the ability of the player to automatically apply default media selections as well as the quality of its scrubbing user experience. More information about automatic selection is available from . diff --git a/Sources/Player/Player.docc/Articles/tracking/tracking.md b/Sources/Player/Player.docc/Articles/tracking/tracking.md index 0c14e1309..9db850b54 100644 --- a/Sources/Player/Player.docc/Articles/tracking/tracking.md +++ b/Sources/Player/Player.docc/Articles/tracking/tracking.md @@ -9,7 +9,7 @@ Track player items during playback. ## Overview -The Player framework offers a way to track an item during playback. This mechanism is mostly useful to gather analytics, perform Quality of Service (QoS) monitoring or save the current playback position into a local history, for example. +The PillarboxPlayer framework offers a way to track an item during playback. This mechanism is mostly useful to gather analytics, perform Quality of Service (QoS) monitoring or save the current playback position into a local history, for example. You define which data is required by a tracker as well as its life cycle by creating a new class type and conforming it to the ``PlayerItemTracker`` protocol. diff --git a/Sources/Player/Player.docc/Extensions/asset.md b/Sources/Player/Player.docc/Extensions/asset.md index 710c1ac6f..79b7c8128 100644 --- a/Sources/Player/Player.docc/Extensions/asset.md +++ b/Sources/Player/Player.docc/Extensions/asset.md @@ -1,4 +1,4 @@ -# ``Player/Asset`` +# ``PillarboxPlayer/Asset`` ## Topics diff --git a/Sources/Player/Player.docc/Extensions/player-item.md b/Sources/Player/Player.docc/Extensions/player-item.md index b0b375a93..d5537401f 100644 --- a/Sources/Player/Player.docc/Extensions/player-item.md +++ b/Sources/Player/Player.docc/Extensions/player-item.md @@ -1,4 +1,4 @@ -# ``Player/PlayerItem`` +# ``PillarboxPlayer/PlayerItem`` ## Topics diff --git a/Sources/Player/Player.docc/Extensions/player-object.md b/Sources/Player/Player.docc/Extensions/player.md similarity index 98% rename from Sources/Player/Player.docc/Extensions/player-object.md rename to Sources/Player/Player.docc/Extensions/player.md index 7f5050213..2a62f31f3 100644 --- a/Sources/Player/Player.docc/Extensions/player-object.md +++ b/Sources/Player/Player.docc/Extensions/player.md @@ -1,4 +1,4 @@ -# ``Player/Player`` +# ``PillarboxPlayer/Player`` ## Topics diff --git a/Sources/Player/Player.docc/Extensions/progress-tracker.md b/Sources/Player/Player.docc/Extensions/progress-tracker.md index 156f5132b..e8587c93f 100644 --- a/Sources/Player/Player.docc/Extensions/progress-tracker.md +++ b/Sources/Player/Player.docc/Extensions/progress-tracker.md @@ -1,4 +1,4 @@ -# ``Player/ProgressTracker`` +# ``PillarboxPlayer/ProgressTracker`` ## Topics @@ -9,7 +9,7 @@ ### Binding to a player - ``player`` -- ``SwiftUI/View/bind(_:to:)-sneb`` +- ``SwiftUI/View/bind(_:to:)-8fqem`` ### Getting and updating progress diff --git a/Sources/Player/Player.docc/Extensions/visibility-tracker.md b/Sources/Player/Player.docc/Extensions/visibility-tracker.md index 6edf68d0c..7fd44103b 100644 --- a/Sources/Player/Player.docc/Extensions/visibility-tracker.md +++ b/Sources/Player/Player.docc/Extensions/visibility-tracker.md @@ -1,4 +1,4 @@ -# ``Player/VisibilityTracker`` +# ``PillarboxPlayer/VisibilityTracker`` ## Topics @@ -9,7 +9,7 @@ ### Binding to a player - ``player`` -- ``SwiftUI/View/bind(_:to:)-q4hv`` +- ``SwiftUI/View/bind(_:to:)-wthx`` ### Getting and updating user interface visibility diff --git a/Sources/Player/Player.docc/Articles/player/player.md b/Sources/Player/Player.docc/PillarboxPlayer.md similarity index 87% rename from Sources/Player/Player.docc/Articles/player/player.md rename to Sources/Player/Player.docc/PillarboxPlayer.md index 4508e7431..7ce5269a7 100644 --- a/Sources/Player/Player.docc/Articles/player/player.md +++ b/Sources/Player/Player.docc/PillarboxPlayer.md @@ -1,4 +1,4 @@ -# ``Player`` +# ``PillarboxPlayer`` @Metadata { @PageColor(purple) @@ -8,13 +8,13 @@ Create engaging audio and video playback experiences. ## Overview -The Player framework provides a complete toolbox to add advanced audiovisual media capabilities to your app. +The PillarboxPlayer framework provides a complete toolbox to add advanced audiovisual media capabilities to your app. Play content easily with a ``Player`` and display its content in the standard AVKit user interface with ``SystemVideoView``, or build an entirely custom user interface starting from a simple ``VideoView``. Play any kind of content from any source by implementing your own ``PlayerItem``s and ``Asset``s, no matter where your content comes from or how it must be played. Track playback with your own ``PlayerItemTracker``, whether for analytics purposes or Quality of Service (QoS) data collection. @Image(source: player-intro, alt: "A screenshot of a player user interface") -The Player framework fully integrates with SwiftUI, embracing its declarative and reactive nature and letting you quickly iterate on your design ideas. +The PillarboxPlayer framework fully integrates with SwiftUI, embracing its declarative and reactive nature and letting you quickly iterate on your design ideas. ### Featured @@ -51,7 +51,7 @@ The Player framework fully integrates with SwiftUI, embracing its declarative an - ``Asset`` - ``MediaSelectionOption`` - ``MediaType`` -- ``Player/Player`` +- ``Player`` - ``PlayerConfiguration`` - ``PlayerItem`` - ``PlayerProperties`` diff --git a/Sources/Player/Player.docc/Tutorials/creating-basic-user-interface/creating-basic-user-interface-1-2.swift b/Sources/Player/Player.docc/Tutorials/creating-basic-user-interface/creating-basic-user-interface-1-2.swift index d3ec92ea0..b819d0cb9 100644 --- a/Sources/Player/Player.docc/Tutorials/creating-basic-user-interface/creating-basic-user-interface-1-2.swift +++ b/Sources/Player/Player.docc/Tutorials/creating-basic-user-interface/creating-basic-user-interface-1-2.swift @@ -1,4 +1,4 @@ -import Player +import PillarboxPlayer import SwiftUI struct ContentView: View { diff --git a/Sources/Player/Player.docc/Tutorials/creating-basic-user-interface/creating-basic-user-interface-1-3.swift b/Sources/Player/Player.docc/Tutorials/creating-basic-user-interface/creating-basic-user-interface-1-3.swift index 9d3f4ff33..e1ed32359 100644 --- a/Sources/Player/Player.docc/Tutorials/creating-basic-user-interface/creating-basic-user-interface-1-3.swift +++ b/Sources/Player/Player.docc/Tutorials/creating-basic-user-interface/creating-basic-user-interface-1-3.swift @@ -1,4 +1,4 @@ -import Player +import PillarboxPlayer import SwiftUI struct ContentView: View { diff --git a/Sources/Player/Player.docc/Tutorials/creating-basic-user-interface/creating-basic-user-interface-1-4.swift b/Sources/Player/Player.docc/Tutorials/creating-basic-user-interface/creating-basic-user-interface-1-4.swift index 2a13656d4..77874142d 100644 --- a/Sources/Player/Player.docc/Tutorials/creating-basic-user-interface/creating-basic-user-interface-1-4.swift +++ b/Sources/Player/Player.docc/Tutorials/creating-basic-user-interface/creating-basic-user-interface-1-4.swift @@ -1,4 +1,4 @@ -import Player +import PillarboxPlayer import SwiftUI struct ContentView: View { diff --git a/Sources/Player/Player.docc/Tutorials/creating-basic-user-interface/creating-basic-user-interface-1-5.swift b/Sources/Player/Player.docc/Tutorials/creating-basic-user-interface/creating-basic-user-interface-1-5.swift index 93ac924ba..0471cd592 100644 --- a/Sources/Player/Player.docc/Tutorials/creating-basic-user-interface/creating-basic-user-interface-1-5.swift +++ b/Sources/Player/Player.docc/Tutorials/creating-basic-user-interface/creating-basic-user-interface-1-5.swift @@ -1,4 +1,4 @@ -import Player +import PillarboxPlayer import SwiftUI struct ContentView: View { diff --git a/Sources/Player/Player.docc/Tutorials/creating-basic-user-interface/creating-basic-user-interface-1-6.swift b/Sources/Player/Player.docc/Tutorials/creating-basic-user-interface/creating-basic-user-interface-1-6.swift index ccac8140f..05480bfe3 100644 --- a/Sources/Player/Player.docc/Tutorials/creating-basic-user-interface/creating-basic-user-interface-1-6.swift +++ b/Sources/Player/Player.docc/Tutorials/creating-basic-user-interface/creating-basic-user-interface-1-6.swift @@ -1,4 +1,4 @@ -import Player +import PillarboxPlayer import SwiftUI struct ContentView: View { diff --git a/Sources/Player/Player.docc/Tutorials/creating-basic-user-interface/creating-basic-user-interface-2-1.swift b/Sources/Player/Player.docc/Tutorials/creating-basic-user-interface/creating-basic-user-interface-2-1.swift index f626c02d0..b0b612117 100644 --- a/Sources/Player/Player.docc/Tutorials/creating-basic-user-interface/creating-basic-user-interface-2-1.swift +++ b/Sources/Player/Player.docc/Tutorials/creating-basic-user-interface/creating-basic-user-interface-2-1.swift @@ -1,4 +1,4 @@ -import Player +import PillarboxPlayer import SwiftUI struct ContentView: View { diff --git a/Sources/Player/Player.docc/Tutorials/creating-basic-user-interface/creating-basic-user-interface-2-2.swift b/Sources/Player/Player.docc/Tutorials/creating-basic-user-interface/creating-basic-user-interface-2-2.swift index c63e3ba66..2c7a551a0 100644 --- a/Sources/Player/Player.docc/Tutorials/creating-basic-user-interface/creating-basic-user-interface-2-2.swift +++ b/Sources/Player/Player.docc/Tutorials/creating-basic-user-interface/creating-basic-user-interface-2-2.swift @@ -1,4 +1,4 @@ -import Player +import PillarboxPlayer import SwiftUI struct ContentView: View { diff --git a/Sources/Player/Player.docc/Tutorials/creating-basic-user-interface/creating-basic-user-interface-2-3.swift b/Sources/Player/Player.docc/Tutorials/creating-basic-user-interface/creating-basic-user-interface-2-3.swift index 224b695bb..bd029543f 100644 --- a/Sources/Player/Player.docc/Tutorials/creating-basic-user-interface/creating-basic-user-interface-2-3.swift +++ b/Sources/Player/Player.docc/Tutorials/creating-basic-user-interface/creating-basic-user-interface-2-3.swift @@ -1,4 +1,4 @@ -import Player +import PillarboxPlayer import SwiftUI struct ContentView: View { diff --git a/Sources/Player/Player.docc/Tutorials/creating-basic-user-interface/creating-basic-user-interface-2-4.swift b/Sources/Player/Player.docc/Tutorials/creating-basic-user-interface/creating-basic-user-interface-2-4.swift index 6bfa35c98..68590a071 100644 --- a/Sources/Player/Player.docc/Tutorials/creating-basic-user-interface/creating-basic-user-interface-2-4.swift +++ b/Sources/Player/Player.docc/Tutorials/creating-basic-user-interface/creating-basic-user-interface-2-4.swift @@ -1,4 +1,4 @@ -import Player +import PillarboxPlayer import SwiftUI struct ContentView: View { diff --git a/Sources/Player/Player.docc/Tutorials/creating-basic-user-interface/creating-basic-user-interface-2-5.swift b/Sources/Player/Player.docc/Tutorials/creating-basic-user-interface/creating-basic-user-interface-2-5.swift index 4fe8ccbb6..e7492b63e 100644 --- a/Sources/Player/Player.docc/Tutorials/creating-basic-user-interface/creating-basic-user-interface-2-5.swift +++ b/Sources/Player/Player.docc/Tutorials/creating-basic-user-interface/creating-basic-user-interface-2-5.swift @@ -1,4 +1,4 @@ -import Player +import PillarboxPlayer import SwiftUI struct ContentView: View { diff --git a/Sources/Player/Player.docc/Tutorials/creating-basic-user-interface/creating-basic-user-interface-2-6.swift b/Sources/Player/Player.docc/Tutorials/creating-basic-user-interface/creating-basic-user-interface-2-6.swift index 24fe36903..7387cd7ad 100644 --- a/Sources/Player/Player.docc/Tutorials/creating-basic-user-interface/creating-basic-user-interface-2-6.swift +++ b/Sources/Player/Player.docc/Tutorials/creating-basic-user-interface/creating-basic-user-interface-2-6.swift @@ -1,4 +1,4 @@ -import Player +import PillarboxPlayer import SwiftUI struct ContentView: View { diff --git a/Sources/Player/Player.docc/Tutorials/displaying-content-in-system-player.tutorial b/Sources/Player/Player.docc/Tutorials/displaying-content-in-system-player.tutorial index 3e83674ac..c68ed04bb 100644 --- a/Sources/Player/Player.docc/Tutorials/displaying-content-in-system-player.tutorial +++ b/Sources/Player/Player.docc/Tutorials/displaying-content-in-system-player.tutorial @@ -3,7 +3,7 @@ Use the system standard player interface to quickly display what is being played. } - @Section(title: "Create a new project and add import Player") { + @Section(title: "Create a new project and add import PillarboxPlayer") { @ContentAndMedia { Create and configure an Xcode project that uses Player. } diff --git a/Sources/Player/Player.docc/Tutorials/integrating-with-control-center/integrating-with-control-center-1-1.swift b/Sources/Player/Player.docc/Tutorials/integrating-with-control-center/integrating-with-control-center-1-1.swift index dcf9ef460..1cf51a458 100644 --- a/Sources/Player/Player.docc/Tutorials/integrating-with-control-center/integrating-with-control-center-1-1.swift +++ b/Sources/Player/Player.docc/Tutorials/integrating-with-control-center/integrating-with-control-center-1-1.swift @@ -1,4 +1,4 @@ -import Player +import PillarboxPlayer import SwiftUI struct ContentView: View { diff --git a/Sources/Player/Player.docc/Tutorials/integrating-with-control-center/integrating-with-control-center-1-2.swift b/Sources/Player/Player.docc/Tutorials/integrating-with-control-center/integrating-with-control-center-1-2.swift index 7dd963b26..8274e3c51 100644 --- a/Sources/Player/Player.docc/Tutorials/integrating-with-control-center/integrating-with-control-center-1-2.swift +++ b/Sources/Player/Player.docc/Tutorials/integrating-with-control-center/integrating-with-control-center-1-2.swift @@ -1,4 +1,4 @@ -import Player +import PillarboxPlayer import SwiftUI struct ContentView: View { diff --git a/Sources/Player/Player.docc/Tutorials/integrating-with-control-center/integrating-with-control-center-2-1.swift b/Sources/Player/Player.docc/Tutorials/integrating-with-control-center/integrating-with-control-center-2-1.swift index 4c0b592bb..9a1c4848c 100644 --- a/Sources/Player/Player.docc/Tutorials/integrating-with-control-center/integrating-with-control-center-2-1.swift +++ b/Sources/Player/Player.docc/Tutorials/integrating-with-control-center/integrating-with-control-center-2-1.swift @@ -1,4 +1,4 @@ -import Player +import PillarboxPlayer import SwiftUI private struct Metadata: AssetMetadata {} diff --git a/Sources/Player/Player.docc/Tutorials/integrating-with-control-center/integrating-with-control-center-2-2.swift b/Sources/Player/Player.docc/Tutorials/integrating-with-control-center/integrating-with-control-center-2-2.swift index a4bb67a18..5329265ef 100644 --- a/Sources/Player/Player.docc/Tutorials/integrating-with-control-center/integrating-with-control-center-2-2.swift +++ b/Sources/Player/Player.docc/Tutorials/integrating-with-control-center/integrating-with-control-center-2-2.swift @@ -1,4 +1,4 @@ -import Player +import PillarboxPlayer import SwiftUI private struct Metadata: AssetMetadata { diff --git a/Sources/Player/Player.docc/Tutorials/loading-and-playing-content.tutorial b/Sources/Player/Player.docc/Tutorials/loading-and-playing-content.tutorial index 72a39d593..f56c925a1 100644 --- a/Sources/Player/Player.docc/Tutorials/loading-and-playing-content.tutorial +++ b/Sources/Player/Player.docc/Tutorials/loading-and-playing-content.tutorial @@ -3,7 +3,7 @@ Load content into a player and start playback. } - @Section(title: "Create a new project and add import Player") { + @Section(title: "Create a new project and add import PillarboxPlayer") { @ContentAndMedia { Create and configure an Xcode project that uses Player. } diff --git a/Sources/Player/Player.docc/Tutorials/optimizing-custom-layouts/optimizing-custom-layouts-1-1.swift b/Sources/Player/Player.docc/Tutorials/optimizing-custom-layouts/optimizing-custom-layouts-1-1.swift index 76520f072..171a9e0a1 100644 --- a/Sources/Player/Player.docc/Tutorials/optimizing-custom-layouts/optimizing-custom-layouts-1-1.swift +++ b/Sources/Player/Player.docc/Tutorials/optimizing-custom-layouts/optimizing-custom-layouts-1-1.swift @@ -1,4 +1,4 @@ -import Player +import PillarboxPlayer import SwiftUI struct ContentView: View { diff --git a/Sources/Player/Player.docc/Tutorials/optimizing-custom-layouts/optimizing-custom-layouts-1-2.swift b/Sources/Player/Player.docc/Tutorials/optimizing-custom-layouts/optimizing-custom-layouts-1-2.swift index c88a1be87..acda0c6ff 100644 --- a/Sources/Player/Player.docc/Tutorials/optimizing-custom-layouts/optimizing-custom-layouts-1-2.swift +++ b/Sources/Player/Player.docc/Tutorials/optimizing-custom-layouts/optimizing-custom-layouts-1-2.swift @@ -1,5 +1,5 @@ -import Core -import Player +import PillarboxCore +import PillarboxPlayer import SwiftUI struct ContentView: View { diff --git a/Sources/Player/Player.docc/Tutorials/optimizing-custom-layouts/optimizing-custom-layouts-1-3.swift b/Sources/Player/Player.docc/Tutorials/optimizing-custom-layouts/optimizing-custom-layouts-1-3.swift index 99546a329..f7f966299 100644 --- a/Sources/Player/Player.docc/Tutorials/optimizing-custom-layouts/optimizing-custom-layouts-1-3.swift +++ b/Sources/Player/Player.docc/Tutorials/optimizing-custom-layouts/optimizing-custom-layouts-1-3.swift @@ -1,5 +1,5 @@ -import Core -import Player +import PillarboxCore +import PillarboxPlayer import SwiftUI struct ContentView: View { diff --git a/Sources/Player/Player.docc/Tutorials/optimizing-custom-layouts/optimizing-custom-layouts-1-4.swift b/Sources/Player/Player.docc/Tutorials/optimizing-custom-layouts/optimizing-custom-layouts-1-4.swift index 5513c2224..0b212d313 100644 --- a/Sources/Player/Player.docc/Tutorials/optimizing-custom-layouts/optimizing-custom-layouts-1-4.swift +++ b/Sources/Player/Player.docc/Tutorials/optimizing-custom-layouts/optimizing-custom-layouts-1-4.swift @@ -1,5 +1,5 @@ -import Core -import Player +import PillarboxCore +import PillarboxPlayer import SwiftUI struct ContentView: View { diff --git a/Sources/Player/Player.docc/Tutorials/optimizing-custom-layouts/optimizing-custom-layouts-1-5.swift b/Sources/Player/Player.docc/Tutorials/optimizing-custom-layouts/optimizing-custom-layouts-1-5.swift index 86e979c3b..bbce3b29e 100644 --- a/Sources/Player/Player.docc/Tutorials/optimizing-custom-layouts/optimizing-custom-layouts-1-5.swift +++ b/Sources/Player/Player.docc/Tutorials/optimizing-custom-layouts/optimizing-custom-layouts-1-5.swift @@ -1,5 +1,5 @@ -import Core -import Player +import PillarboxCore +import PillarboxPlayer import SwiftUI struct ContentView: View { diff --git a/Sources/Player/Player.docc/Tutorials/optimizing-custom-layouts/optimizing-custom-layouts-2-1.swift b/Sources/Player/Player.docc/Tutorials/optimizing-custom-layouts/optimizing-custom-layouts-2-1.swift index 29ec8b671..54834918f 100644 --- a/Sources/Player/Player.docc/Tutorials/optimizing-custom-layouts/optimizing-custom-layouts-2-1.swift +++ b/Sources/Player/Player.docc/Tutorials/optimizing-custom-layouts/optimizing-custom-layouts-2-1.swift @@ -1,5 +1,5 @@ -import Core -import Player +import PillarboxCore +import PillarboxPlayer import SwiftUI struct ContentView: View { diff --git a/Sources/Player/Player.docc/Tutorials/optimizing-custom-layouts/optimizing-custom-layouts-2-2.swift b/Sources/Player/Player.docc/Tutorials/optimizing-custom-layouts/optimizing-custom-layouts-2-2.swift index 2cafe7bff..056a3b931 100644 --- a/Sources/Player/Player.docc/Tutorials/optimizing-custom-layouts/optimizing-custom-layouts-2-2.swift +++ b/Sources/Player/Player.docc/Tutorials/optimizing-custom-layouts/optimizing-custom-layouts-2-2.swift @@ -1,5 +1,5 @@ -import Core -import Player +import PillarboxCore +import PillarboxPlayer import SwiftUI struct ContentView: View { diff --git a/Sources/Player/Player.docc/Tutorials/optimizing-custom-layouts/optimizing-custom-layouts-2-3.swift b/Sources/Player/Player.docc/Tutorials/optimizing-custom-layouts/optimizing-custom-layouts-2-3.swift index 2d10165ea..a69e71f89 100644 --- a/Sources/Player/Player.docc/Tutorials/optimizing-custom-layouts/optimizing-custom-layouts-2-3.swift +++ b/Sources/Player/Player.docc/Tutorials/optimizing-custom-layouts/optimizing-custom-layouts-2-3.swift @@ -1,5 +1,5 @@ -import Core -import Player +import PillarboxCore +import PillarboxPlayer import SwiftUI struct ContentView: View { diff --git a/Sources/Player/Player.docc/Tutorials/optimizing-custom-layouts/optimizing-custom-layouts-2-4.swift b/Sources/Player/Player.docc/Tutorials/optimizing-custom-layouts/optimizing-custom-layouts-2-4.swift index 8b0355c39..3480db5f8 100644 --- a/Sources/Player/Player.docc/Tutorials/optimizing-custom-layouts/optimizing-custom-layouts-2-4.swift +++ b/Sources/Player/Player.docc/Tutorials/optimizing-custom-layouts/optimizing-custom-layouts-2-4.swift @@ -1,5 +1,5 @@ -import Core -import Player +import PillarboxCore +import PillarboxPlayer import SwiftUI struct ContentView: View { diff --git a/Sources/Player/Player.docc/Tutorials/optimizing-custom-layouts/optimizing-custom-layouts-2-5.swift b/Sources/Player/Player.docc/Tutorials/optimizing-custom-layouts/optimizing-custom-layouts-2-5.swift index 7645a813e..65bec1496 100644 --- a/Sources/Player/Player.docc/Tutorials/optimizing-custom-layouts/optimizing-custom-layouts-2-5.swift +++ b/Sources/Player/Player.docc/Tutorials/optimizing-custom-layouts/optimizing-custom-layouts-2-5.swift @@ -1,5 +1,5 @@ -import Core -import Player +import PillarboxCore +import PillarboxPlayer import SwiftUI struct ContentView: View { diff --git a/Sources/Player/Player.docc/Tutorials/optimizing-custom-layouts/optimizing-custom-layouts-2-6.swift b/Sources/Player/Player.docc/Tutorials/optimizing-custom-layouts/optimizing-custom-layouts-2-6.swift index d8b8f0353..2221043bc 100644 --- a/Sources/Player/Player.docc/Tutorials/optimizing-custom-layouts/optimizing-custom-layouts-2-6.swift +++ b/Sources/Player/Player.docc/Tutorials/optimizing-custom-layouts/optimizing-custom-layouts-2-6.swift @@ -1,5 +1,5 @@ -import Core -import Player +import PillarboxCore +import PillarboxPlayer import SwiftUI struct ContentView: View { diff --git a/Sources/Player/Player.docc/Tutorials/supporting-airplay/supporting-airplay-2-1.swift b/Sources/Player/Player.docc/Tutorials/supporting-airplay/supporting-airplay-2-1.swift index 2a13656d4..77874142d 100644 --- a/Sources/Player/Player.docc/Tutorials/supporting-airplay/supporting-airplay-2-1.swift +++ b/Sources/Player/Player.docc/Tutorials/supporting-airplay/supporting-airplay-2-1.swift @@ -1,4 +1,4 @@ -import Player +import PillarboxPlayer import SwiftUI struct ContentView: View { diff --git a/Sources/Player/Player.docc/Tutorials/supporting-airplay/supporting-airplay-2-2.swift b/Sources/Player/Player.docc/Tutorials/supporting-airplay/supporting-airplay-2-2.swift index f59ecdc48..1b481bd0e 100644 --- a/Sources/Player/Player.docc/Tutorials/supporting-airplay/supporting-airplay-2-2.swift +++ b/Sources/Player/Player.docc/Tutorials/supporting-airplay/supporting-airplay-2-2.swift @@ -1,4 +1,4 @@ -import Player +import PillarboxPlayer import SwiftUI struct ContentView: View { diff --git a/Sources/Player/Player.docc/Tutorials/supporting-airplay/supporting-airplay-2-3.swift b/Sources/Player/Player.docc/Tutorials/supporting-airplay/supporting-airplay-2-3.swift index 91dae7176..a0f663a08 100644 --- a/Sources/Player/Player.docc/Tutorials/supporting-airplay/supporting-airplay-2-3.swift +++ b/Sources/Player/Player.docc/Tutorials/supporting-airplay/supporting-airplay-2-3.swift @@ -1,4 +1,4 @@ -import Player +import PillarboxPlayer import SwiftUI struct ContentView: View { diff --git a/Sources/Player/Player.docc/Tutorials/supporting-basic-picture-in-picture/supporting-basic-picture-in-picture-2-1.swift b/Sources/Player/Player.docc/Tutorials/supporting-basic-picture-in-picture/supporting-basic-picture-in-picture-2-1.swift index b960aff1d..fd7cfa2f8 100644 --- a/Sources/Player/Player.docc/Tutorials/supporting-basic-picture-in-picture/supporting-basic-picture-in-picture-2-1.swift +++ b/Sources/Player/Player.docc/Tutorials/supporting-basic-picture-in-picture/supporting-basic-picture-in-picture-2-1.swift @@ -1,4 +1,4 @@ -import Player +import PillarboxPlayer import SwiftUI struct ContentView: View { diff --git a/Sources/Player/Player.docc/Tutorials/supporting-basic-picture-in-picture/supporting-basic-picture-in-picture-2-2.swift b/Sources/Player/Player.docc/Tutorials/supporting-basic-picture-in-picture/supporting-basic-picture-in-picture-2-2.swift index 47dbe31bc..3942fe013 100644 --- a/Sources/Player/Player.docc/Tutorials/supporting-basic-picture-in-picture/supporting-basic-picture-in-picture-2-2.swift +++ b/Sources/Player/Player.docc/Tutorials/supporting-basic-picture-in-picture/supporting-basic-picture-in-picture-2-2.swift @@ -1,4 +1,4 @@ -import Player +import PillarboxPlayer import SwiftUI struct ContentView: View { diff --git a/Sources/Player/Player.docc/Tutorials/supporting-basic-picture-in-picture/supporting-basic-picture-in-picture-2-3.swift b/Sources/Player/Player.docc/Tutorials/supporting-basic-picture-in-picture/supporting-basic-picture-in-picture-2-3.swift index 42d1fffd8..155a5ea18 100644 --- a/Sources/Player/Player.docc/Tutorials/supporting-basic-picture-in-picture/supporting-basic-picture-in-picture-2-3.swift +++ b/Sources/Player/Player.docc/Tutorials/supporting-basic-picture-in-picture/supporting-basic-picture-in-picture-2-3.swift @@ -1,4 +1,4 @@ -import Player +import PillarboxPlayer import SwiftUI struct ContentView: View { diff --git a/Sources/Player/Player.docc/Tutorials/supporting-pinch-to-zoom/supporting-pinch-to-zoom-1-1.swift b/Sources/Player/Player.docc/Tutorials/supporting-pinch-to-zoom/supporting-pinch-to-zoom-1-1.swift index 45048f5ad..224383bd5 100644 --- a/Sources/Player/Player.docc/Tutorials/supporting-pinch-to-zoom/supporting-pinch-to-zoom-1-1.swift +++ b/Sources/Player/Player.docc/Tutorials/supporting-pinch-to-zoom/supporting-pinch-to-zoom-1-1.swift @@ -1,4 +1,4 @@ -import Player +import PillarboxPlayer import SwiftUI struct ContentView: View { diff --git a/Sources/Player/Player.docc/Tutorials/supporting-pinch-to-zoom/supporting-pinch-to-zoom-1-2.swift b/Sources/Player/Player.docc/Tutorials/supporting-pinch-to-zoom/supporting-pinch-to-zoom-1-2.swift index e2fcec8f3..86c45cd4f 100644 --- a/Sources/Player/Player.docc/Tutorials/supporting-pinch-to-zoom/supporting-pinch-to-zoom-1-2.swift +++ b/Sources/Player/Player.docc/Tutorials/supporting-pinch-to-zoom/supporting-pinch-to-zoom-1-2.swift @@ -1,5 +1,5 @@ import AVFoundation -import Player +import PillarboxPlayer import SwiftUI struct ContentView: View { diff --git a/Sources/Player/Player.docc/Tutorials/supporting-pinch-to-zoom/supporting-pinch-to-zoom-1-3.swift b/Sources/Player/Player.docc/Tutorials/supporting-pinch-to-zoom/supporting-pinch-to-zoom-1-3.swift index e55c1fb61..79984f7dd 100644 --- a/Sources/Player/Player.docc/Tutorials/supporting-pinch-to-zoom/supporting-pinch-to-zoom-1-3.swift +++ b/Sources/Player/Player.docc/Tutorials/supporting-pinch-to-zoom/supporting-pinch-to-zoom-1-3.swift @@ -1,5 +1,5 @@ import AVFoundation -import Player +import PillarboxPlayer import SwiftUI struct ContentView: View { diff --git a/Sources/Player/Player.docc/Tutorials/supporting-pinch-to-zoom/supporting-pinch-to-zoom-2-1.swift b/Sources/Player/Player.docc/Tutorials/supporting-pinch-to-zoom/supporting-pinch-to-zoom-2-1.swift index 1407d604f..0a1d39479 100644 --- a/Sources/Player/Player.docc/Tutorials/supporting-pinch-to-zoom/supporting-pinch-to-zoom-2-1.swift +++ b/Sources/Player/Player.docc/Tutorials/supporting-pinch-to-zoom/supporting-pinch-to-zoom-2-1.swift @@ -1,5 +1,5 @@ import AVFoundation -import Player +import PillarboxPlayer import SwiftUI struct ContentView: View { diff --git a/Sources/Player/Player.docc/Tutorials/supporting-pinch-to-zoom/supporting-pinch-to-zoom-2-2.swift b/Sources/Player/Player.docc/Tutorials/supporting-pinch-to-zoom/supporting-pinch-to-zoom-2-2.swift index a4fbedc81..179a68f53 100644 --- a/Sources/Player/Player.docc/Tutorials/supporting-pinch-to-zoom/supporting-pinch-to-zoom-2-2.swift +++ b/Sources/Player/Player.docc/Tutorials/supporting-pinch-to-zoom/supporting-pinch-to-zoom-2-2.swift @@ -1,5 +1,5 @@ import AVFoundation -import Player +import PillarboxPlayer import SwiftUI struct ContentView: View { diff --git a/Sources/Player/Player.docc/Tutorials/supporting-pinch-to-zoom/supporting-pinch-to-zoom-2-3.swift b/Sources/Player/Player.docc/Tutorials/supporting-pinch-to-zoom/supporting-pinch-to-zoom-2-3.swift index af4a02ec5..c9b6b8656 100644 --- a/Sources/Player/Player.docc/Tutorials/supporting-pinch-to-zoom/supporting-pinch-to-zoom-2-3.swift +++ b/Sources/Player/Player.docc/Tutorials/supporting-pinch-to-zoom/supporting-pinch-to-zoom-2-3.swift @@ -1,5 +1,5 @@ import AVFoundation -import Player +import PillarboxPlayer import SwiftUI struct ContentView: View { diff --git a/Sources/Player/Player.docc/Tutorials/tracking-progress/tracking-progress-1-1.swift b/Sources/Player/Player.docc/Tutorials/tracking-progress/tracking-progress-1-1.swift index 1a6ede00f..421da7013 100644 --- a/Sources/Player/Player.docc/Tutorials/tracking-progress/tracking-progress-1-1.swift +++ b/Sources/Player/Player.docc/Tutorials/tracking-progress/tracking-progress-1-1.swift @@ -1,4 +1,4 @@ -import Player +import PillarboxPlayer import SwiftUI struct ContentView: View { diff --git a/Sources/Player/Player.docc/Tutorials/tracking-progress/tracking-progress-1-2.swift b/Sources/Player/Player.docc/Tutorials/tracking-progress/tracking-progress-1-2.swift index 8d5d35fe8..64a9624fd 100644 --- a/Sources/Player/Player.docc/Tutorials/tracking-progress/tracking-progress-1-2.swift +++ b/Sources/Player/Player.docc/Tutorials/tracking-progress/tracking-progress-1-2.swift @@ -1,4 +1,4 @@ -import Player +import PillarboxPlayer import SwiftUI struct ContentView: View { diff --git a/Sources/Player/Player.docc/Tutorials/tracking-progress/tracking-progress-1-3.swift b/Sources/Player/Player.docc/Tutorials/tracking-progress/tracking-progress-1-3.swift index 7c1abfa16..d5cfb3fb2 100644 --- a/Sources/Player/Player.docc/Tutorials/tracking-progress/tracking-progress-1-3.swift +++ b/Sources/Player/Player.docc/Tutorials/tracking-progress/tracking-progress-1-3.swift @@ -1,4 +1,4 @@ -import Player +import PillarboxPlayer import SwiftUI struct ContentView: View { diff --git a/Sources/Player/Player.docc/Tutorials/tracking-progress/tracking-progress-1-4.swift b/Sources/Player/Player.docc/Tutorials/tracking-progress/tracking-progress-1-4.swift index 7f61e6030..d75b38d49 100644 --- a/Sources/Player/Player.docc/Tutorials/tracking-progress/tracking-progress-1-4.swift +++ b/Sources/Player/Player.docc/Tutorials/tracking-progress/tracking-progress-1-4.swift @@ -1,4 +1,4 @@ -import Player +import PillarboxPlayer import SwiftUI struct ContentView: View { diff --git a/Sources/Player/Player.docc/Tutorials/tracking-progress/tracking-progress-1-5.swift b/Sources/Player/Player.docc/Tutorials/tracking-progress/tracking-progress-1-5.swift index 76520f072..171a9e0a1 100644 --- a/Sources/Player/Player.docc/Tutorials/tracking-progress/tracking-progress-1-5.swift +++ b/Sources/Player/Player.docc/Tutorials/tracking-progress/tracking-progress-1-5.swift @@ -1,4 +1,4 @@ -import Player +import PillarboxPlayer import SwiftUI struct ContentView: View { diff --git a/Sources/Player/Player.docc/Tutorials/tracking-visibility/tracking-visibility-1-1.swift b/Sources/Player/Player.docc/Tutorials/tracking-visibility/tracking-visibility-1-1.swift index 49c52aefd..f458df551 100644 --- a/Sources/Player/Player.docc/Tutorials/tracking-visibility/tracking-visibility-1-1.swift +++ b/Sources/Player/Player.docc/Tutorials/tracking-visibility/tracking-visibility-1-1.swift @@ -1,4 +1,4 @@ -import Player +import PillarboxPlayer import SwiftUI struct ContentView: View { diff --git a/Sources/Player/Player.docc/Tutorials/tracking-visibility/tracking-visibility-1-2.swift b/Sources/Player/Player.docc/Tutorials/tracking-visibility/tracking-visibility-1-2.swift index 2e1f0478d..c812fc5bd 100644 --- a/Sources/Player/Player.docc/Tutorials/tracking-visibility/tracking-visibility-1-2.swift +++ b/Sources/Player/Player.docc/Tutorials/tracking-visibility/tracking-visibility-1-2.swift @@ -1,4 +1,4 @@ -import Player +import PillarboxPlayer import SwiftUI struct ContentView: View { diff --git a/Sources/Player/Player.docc/Tutorials/tracking-visibility/tracking-visibility-1-3.swift b/Sources/Player/Player.docc/Tutorials/tracking-visibility/tracking-visibility-1-3.swift index e50c7911d..2b0df58b7 100644 --- a/Sources/Player/Player.docc/Tutorials/tracking-visibility/tracking-visibility-1-3.swift +++ b/Sources/Player/Player.docc/Tutorials/tracking-visibility/tracking-visibility-1-3.swift @@ -1,4 +1,4 @@ -import Player +import PillarboxPlayer import SwiftUI struct ContentView: View { diff --git a/Sources/Player/Player.docc/Tutorials/tracking-visibility/tracking-visibility-1-4.swift b/Sources/Player/Player.docc/Tutorials/tracking-visibility/tracking-visibility-1-4.swift index edc7e2ad7..552a2a324 100644 --- a/Sources/Player/Player.docc/Tutorials/tracking-visibility/tracking-visibility-1-4.swift +++ b/Sources/Player/Player.docc/Tutorials/tracking-visibility/tracking-visibility-1-4.swift @@ -1,4 +1,4 @@ -import Player +import PillarboxPlayer import SwiftUI struct ContentView: View { diff --git a/Sources/Player/Player.docc/Tutorials/tracking-visibility/tracking-visibility-1-5.swift b/Sources/Player/Player.docc/Tutorials/tracking-visibility/tracking-visibility-1-5.swift index 2e337e63a..d10c6fdff 100644 --- a/Sources/Player/Player.docc/Tutorials/tracking-visibility/tracking-visibility-1-5.swift +++ b/Sources/Player/Player.docc/Tutorials/tracking-visibility/tracking-visibility-1-5.swift @@ -1,4 +1,4 @@ -import Player +import PillarboxPlayer import SwiftUI struct ContentView: View { diff --git a/Sources/Player/Player.docc/Articles/player/player-intro.png b/Sources/Player/Player.docc/player-intro.png similarity index 100% rename from Sources/Player/Player.docc/Articles/player/player-intro.png rename to Sources/Player/Player.docc/player-intro.png diff --git a/Sources/Player/Player.swift b/Sources/Player/Player.swift index 72c59947c..4b5c4d808 100644 --- a/Sources/Player/Player.swift +++ b/Sources/Player/Player.swift @@ -6,9 +6,9 @@ import AVFoundation import Combine -import Core import DequeModule import MediaPlayer +import PillarboxCore import TimelaneCombine /// An observable audio / video player maintaining its items as a double-ended queue. diff --git a/Sources/Player/Publishers/AVAssetPublishers.swift b/Sources/Player/Publishers/AVAssetPublishers.swift index 7effc0af4..0530f8987 100644 --- a/Sources/Player/Publishers/AVAssetPublishers.swift +++ b/Sources/Player/Publishers/AVAssetPublishers.swift @@ -6,7 +6,7 @@ import AVFoundation import Combine -import Core +import PillarboxCore extension AVAsset { /// A publisher emitting values for a given asset property. diff --git a/Sources/Player/Types/DisplaySleep.swift b/Sources/Player/Types/DisplaySleep.swift index 474042859..a532d6249 100644 --- a/Sources/Player/Types/DisplaySleep.swift +++ b/Sources/Player/Types/DisplaySleep.swift @@ -9,8 +9,8 @@ import UIKit /// Manages display sleep prevention. /// /// There is no real reliable way to manage `isIdleTimerDisabled` as soon as 3rd party code is involved, but this -/// class at least implements correct reference counting for the Player framework. This ensures that the idle timer -/// is enabled most of the time, as written in `isIdleTimerDisabled` documentation. +/// class at least implements correct reference counting for the PillarboxPlayer framework. This ensures that the +/// idle timer is enabled most of the time, as written in `isIdleTimerDisabled` documentation. final class DisplaySleep { static let shared = DisplaySleep() diff --git a/Sources/Player/UserInterface/ProgressTracker.swift b/Sources/Player/UserInterface/ProgressTracker.swift index bec072205..8e00cb19b 100644 --- a/Sources/Player/UserInterface/ProgressTracker.swift +++ b/Sources/Player/UserInterface/ProgressTracker.swift @@ -25,7 +25,7 @@ import SwiftUI /// 1. Instantiate a `ProgressTracker` in your view hierarchy, setting up the refresh interval you need. You should /// instantiate a progress tracker in the narrowest possible view scope so that refreshes only affect a small /// portion of your view hierarchy, especially if the applied refresh interval is small. -/// 2. Bind the progress tracker to a ``Player`` instance by applying the ``SwiftUI/View/bind(_:to:)-sneb`` modifier. +/// 2. Bind the progress tracker to a ``Player`` instance by applying the ``SwiftUI/View/bind(_:to:)-8fqem`` modifier. /// 3. The current progress can be retrieved from the ``progress`` property and displayed in any way you want. Use /// the ``range`` property to determine the currently available range, and ``isProgressAvailable`` to know whether /// progress should actually be displayed. @@ -33,8 +33,8 @@ import SwiftUI /// property to `true` while progress is updated interactively so that changes take precedence over reported values /// during the interaction. /// -/// The Player framework also provides automatic progress interaction integration with the SwiftUI standard slider, see -/// ``SwiftUI/Slider/init(progressTracker:label:minimumValueLabel:maximumValueLabel:onEditingChanged:)``. +/// The PillarboxPlayer framework also provides automatic progress interaction integration with the SwiftUI standard +/// slider, see ``SwiftUI/Slider/init(progressTracker:label:minimumValueLabel:maximumValueLabel:onEditingChanged:)``. /// /// > Note: For step-by-step integration instructions have a look at the associated tutorial. public final class ProgressTracker: ObservableObject { diff --git a/Sources/Player/UserInterface/VisibilityTracker.swift b/Sources/Player/UserInterface/VisibilityTracker.swift index b5e085bcb..bda2a459f 100644 --- a/Sources/Player/UserInterface/VisibilityTracker.swift +++ b/Sources/Player/UserInterface/VisibilityTracker.swift @@ -5,8 +5,8 @@ // import Combine -import Core import Foundation +import PillarboxCore import SwiftUI import UIKit @@ -27,9 +27,9 @@ import UIKit /// /// A visibility tracker is used as follows: /// -/// 1. Instantiate a `VisibilityTracker` in your view hierarchy. You can setup the initial visibility status as well +/// 1. Instantiate a ``VisibilityTracker`` in your view hierarchy. You can setup the initial visibility status as well /// as the delay after which controls must be automatically hidden during playback. -/// 2. Bind the visibility tracker to a ``Player`` instance by applying the ``SwiftUI/View/bind(_:to:)-q4hv`` modifier. +/// 2. Bind the visibility tracker to a ``Player`` instance by applying the ``SwiftUI/View/bind(_:to:)-wthx`` modifier. /// 3. Use ``isUserInterfaceHidden`` to adjust visibility of your user interface components based on the current /// visibility tracker recommendation. /// 4. Introduce an interaction (e.g. a tap gesture) that lets your users toggle user interface visibility on or off. diff --git a/Tests/AnalyticsTests/ComScore/ComScoreHitExpectation.swift b/Tests/AnalyticsTests/ComScore/ComScoreHitExpectation.swift index 9ac2b0edc..648682ffb 100644 --- a/Tests/AnalyticsTests/ComScore/ComScoreHitExpectation.swift +++ b/Tests/AnalyticsTests/ComScore/ComScoreHitExpectation.swift @@ -4,7 +4,7 @@ // License information is available from the LICENSE file. // -import Analytics +import PillarboxAnalytics /// Describes a comScore stream hit expectation. struct ComScoreHitExpectation { diff --git a/Tests/AnalyticsTests/ComScore/ComScorePageViewTests.swift b/Tests/AnalyticsTests/ComScore/ComScorePageViewTests.swift index 0cb4776fb..f15b2b86b 100644 --- a/Tests/AnalyticsTests/ComScore/ComScorePageViewTests.swift +++ b/Tests/AnalyticsTests/ComScore/ComScorePageViewTests.swift @@ -4,10 +4,10 @@ // License information is available from the LICENSE file. // -@testable import Analytics +@testable import PillarboxAnalytics -import Circumspect import Nimble +import PillarboxCircumspect import UIKit private class AutomaticMockViewController: UIViewController, PageViewTracking { diff --git a/Tests/AnalyticsTests/ComScore/ComScoreTestCase.swift b/Tests/AnalyticsTests/ComScore/ComScoreTestCase.swift index 67717eb7c..a51cd29a8 100644 --- a/Tests/AnalyticsTests/ComScore/ComScoreTestCase.swift +++ b/Tests/AnalyticsTests/ComScore/ComScoreTestCase.swift @@ -4,10 +4,10 @@ // License information is available from the LICENSE file. // -@testable import Analytics +@testable import PillarboxAnalytics -import Circumspect import Dispatch +import PillarboxCircumspect class ComScoreTestCase: TestCase {} diff --git a/Tests/AnalyticsTests/ComScore/ComScoreTrackerDvrPropertiesTests.swift b/Tests/AnalyticsTests/ComScore/ComScoreTrackerDvrPropertiesTests.swift index a8a32cd65..075b7d1fc 100644 --- a/Tests/AnalyticsTests/ComScore/ComScoreTrackerDvrPropertiesTests.swift +++ b/Tests/AnalyticsTests/ComScore/ComScoreTrackerDvrPropertiesTests.swift @@ -4,12 +4,12 @@ // License information is available from the LICENSE file. // -@testable import Analytics +@testable import PillarboxAnalytics import CoreMedia import Nimble -import Player -import Streams +import PillarboxPlayer +import PillarboxStreams private struct AssetMetadataMock: AssetMetadata {} diff --git a/Tests/AnalyticsTests/ComScore/ComScoreTrackerMetadataTests.swift b/Tests/AnalyticsTests/ComScore/ComScoreTrackerMetadataTests.swift index 7d29abe17..e37da81c0 100644 --- a/Tests/AnalyticsTests/ComScore/ComScoreTrackerMetadataTests.swift +++ b/Tests/AnalyticsTests/ComScore/ComScoreTrackerMetadataTests.swift @@ -4,11 +4,11 @@ // License information is available from the LICENSE file. // -@testable import Analytics +@testable import PillarboxAnalytics import Nimble -import Player -import Streams +import PillarboxPlayer +import PillarboxStreams private struct AssetMetadataMock: AssetMetadata {} diff --git a/Tests/AnalyticsTests/ComScore/ComScoreTrackerPlaybackSpeedTests.swift b/Tests/AnalyticsTests/ComScore/ComScoreTrackerPlaybackSpeedTests.swift index 55efd017f..6d2fed25d 100644 --- a/Tests/AnalyticsTests/ComScore/ComScoreTrackerPlaybackSpeedTests.swift +++ b/Tests/AnalyticsTests/ComScore/ComScoreTrackerPlaybackSpeedTests.swift @@ -4,11 +4,11 @@ // License information is available from the LICENSE file. // -@testable import Analytics +@testable import PillarboxAnalytics import Nimble -import Player -import Streams +import PillarboxPlayer +import PillarboxStreams private struct AssetMetadataMock: AssetMetadata {} diff --git a/Tests/AnalyticsTests/ComScore/ComScoreTrackerRateTests.swift b/Tests/AnalyticsTests/ComScore/ComScoreTrackerRateTests.swift index c75f53a2a..d5b9aa48e 100644 --- a/Tests/AnalyticsTests/ComScore/ComScoreTrackerRateTests.swift +++ b/Tests/AnalyticsTests/ComScore/ComScoreTrackerRateTests.swift @@ -4,11 +4,11 @@ // License information is available from the LICENSE file. // -@testable import Analytics +@testable import PillarboxAnalytics import Nimble -import Player -import Streams +import PillarboxPlayer +import PillarboxStreams private struct AssetMetadataMock: AssetMetadata {} diff --git a/Tests/AnalyticsTests/ComScore/ComScoreTrackerSeekTests.swift b/Tests/AnalyticsTests/ComScore/ComScoreTrackerSeekTests.swift index e066b776d..136339006 100644 --- a/Tests/AnalyticsTests/ComScore/ComScoreTrackerSeekTests.swift +++ b/Tests/AnalyticsTests/ComScore/ComScoreTrackerSeekTests.swift @@ -4,12 +4,12 @@ // License information is available from the LICENSE file. // -@testable import Analytics +@testable import PillarboxAnalytics import CoreMedia import Nimble -import Player -import Streams +import PillarboxPlayer +import PillarboxStreams private struct AssetMetadataMock: AssetMetadata {} diff --git a/Tests/AnalyticsTests/ComScore/ComScoreTrackerTests.swift b/Tests/AnalyticsTests/ComScore/ComScoreTrackerTests.swift index 46f62e086..4c812f9ec 100644 --- a/Tests/AnalyticsTests/ComScore/ComScoreTrackerTests.swift +++ b/Tests/AnalyticsTests/ComScore/ComScoreTrackerTests.swift @@ -4,12 +4,12 @@ // License information is available from the LICENSE file. // -@testable import Analytics +@testable import PillarboxAnalytics import CoreMedia import Nimble -import Player -import Streams +import PillarboxPlayer +import PillarboxStreams private struct AssetMetadataMock: AssetMetadata {} diff --git a/Tests/AnalyticsTests/CommandersAct/CommandersActEventTests.swift b/Tests/AnalyticsTests/CommandersAct/CommandersActEventTests.swift index e33f4b37b..600e22ab0 100644 --- a/Tests/AnalyticsTests/CommandersAct/CommandersActEventTests.swift +++ b/Tests/AnalyticsTests/CommandersAct/CommandersActEventTests.swift @@ -4,10 +4,10 @@ // License information is available from the LICENSE file. // -@testable import Analytics +@testable import PillarboxAnalytics -import Circumspect import Nimble +import PillarboxCircumspect final class CommandersActEventTests: CommandersActTestCase { func testMergingWithGlobals() { diff --git a/Tests/AnalyticsTests/CommandersAct/CommandersActHitExpectation.swift b/Tests/AnalyticsTests/CommandersAct/CommandersActHitExpectation.swift index 52437062d..29ee3fee1 100644 --- a/Tests/AnalyticsTests/CommandersAct/CommandersActHitExpectation.swift +++ b/Tests/AnalyticsTests/CommandersAct/CommandersActHitExpectation.swift @@ -4,7 +4,7 @@ // License information is available from the LICENSE file. // -import Analytics +import PillarboxAnalytics /// Describes a Commanders Act stream hit expectation. struct CommandersActHitExpectation { diff --git a/Tests/AnalyticsTests/CommandersAct/CommandersActPageViewTests.swift b/Tests/AnalyticsTests/CommandersAct/CommandersActPageViewTests.swift index 790f81742..38fe2e37e 100644 --- a/Tests/AnalyticsTests/CommandersAct/CommandersActPageViewTests.swift +++ b/Tests/AnalyticsTests/CommandersAct/CommandersActPageViewTests.swift @@ -4,10 +4,10 @@ // License information is available from the LICENSE file. // -@testable import Analytics +@testable import PillarboxAnalytics -import Circumspect import Nimble +import PillarboxCircumspect final class CommandersActPageViewTests: CommandersActTestCase { func testMergingWithGlobals() { diff --git a/Tests/AnalyticsTests/CommandersAct/CommandersActStreamingAnalyticsDvrTests.swift b/Tests/AnalyticsTests/CommandersAct/CommandersActStreamingAnalyticsDvrTests.swift index da1a155ce..c8046eaec 100644 --- a/Tests/AnalyticsTests/CommandersAct/CommandersActStreamingAnalyticsDvrTests.swift +++ b/Tests/AnalyticsTests/CommandersAct/CommandersActStreamingAnalyticsDvrTests.swift @@ -4,11 +4,11 @@ // License information is available from the LICENSE file. // -@testable import Analytics +@testable import PillarboxAnalytics -import Circumspect import CoreMedia import Nimble +import PillarboxCircumspect final class CommandersActStreamingAnalyticsDvrTests: CommandersActTestCase { private static let range = CMTimeRange(start: CMTime(value: 2, timescale: 1), end: CMTime(value: 20, timescale: 1)) diff --git a/Tests/AnalyticsTests/CommandersAct/CommandersActStreamingAnalyticsHeartbeatDvrTests.swift b/Tests/AnalyticsTests/CommandersAct/CommandersActStreamingAnalyticsHeartbeatDvrTests.swift index 9f7d5b551..9d0f7a9d6 100644 --- a/Tests/AnalyticsTests/CommandersAct/CommandersActStreamingAnalyticsHeartbeatDvrTests.swift +++ b/Tests/AnalyticsTests/CommandersAct/CommandersActStreamingAnalyticsHeartbeatDvrTests.swift @@ -4,7 +4,7 @@ // License information is available from the LICENSE file. // -@testable import Analytics +@testable import PillarboxAnalytics import CoreMedia import Nimble diff --git a/Tests/AnalyticsTests/CommandersAct/CommandersActStreamingAnalyticsHeartbeatLiveTests.swift b/Tests/AnalyticsTests/CommandersAct/CommandersActStreamingAnalyticsHeartbeatLiveTests.swift index 2e3548b28..108ca3e1c 100644 --- a/Tests/AnalyticsTests/CommandersAct/CommandersActStreamingAnalyticsHeartbeatLiveTests.swift +++ b/Tests/AnalyticsTests/CommandersAct/CommandersActStreamingAnalyticsHeartbeatLiveTests.swift @@ -4,7 +4,7 @@ // License information is available from the LICENSE file. // -@testable import Analytics +@testable import PillarboxAnalytics import CoreMedia import Nimble diff --git a/Tests/AnalyticsTests/CommandersAct/CommandersActStreamingAnalyticsHeartbeatOnDemandTests.swift b/Tests/AnalyticsTests/CommandersAct/CommandersActStreamingAnalyticsHeartbeatOnDemandTests.swift index fd86f543a..a72c42630 100644 --- a/Tests/AnalyticsTests/CommandersAct/CommandersActStreamingAnalyticsHeartbeatOnDemandTests.swift +++ b/Tests/AnalyticsTests/CommandersAct/CommandersActStreamingAnalyticsHeartbeatOnDemandTests.swift @@ -4,7 +4,7 @@ // License information is available from the LICENSE file. // -@testable import Analytics +@testable import PillarboxAnalytics import CoreMedia diff --git a/Tests/AnalyticsTests/CommandersAct/CommandersActStreamingAnalyticsLiveTests.swift b/Tests/AnalyticsTests/CommandersAct/CommandersActStreamingAnalyticsLiveTests.swift index 9d7b5da42..370211c5d 100644 --- a/Tests/AnalyticsTests/CommandersAct/CommandersActStreamingAnalyticsLiveTests.swift +++ b/Tests/AnalyticsTests/CommandersAct/CommandersActStreamingAnalyticsLiveTests.swift @@ -4,10 +4,10 @@ // License information is available from the LICENSE file. // -@testable import Analytics +@testable import PillarboxAnalytics -import Circumspect import Nimble +import PillarboxCircumspect final class CommandersActStreamingAnalyticsLiveTests: CommandersActTestCase { func testInitialPosition() { diff --git a/Tests/AnalyticsTests/CommandersAct/CommandersActStreamingAnalyticsOnDemandTests.swift b/Tests/AnalyticsTests/CommandersAct/CommandersActStreamingAnalyticsOnDemandTests.swift index 8f9acbd03..3983b0c84 100644 --- a/Tests/AnalyticsTests/CommandersAct/CommandersActStreamingAnalyticsOnDemandTests.swift +++ b/Tests/AnalyticsTests/CommandersAct/CommandersActStreamingAnalyticsOnDemandTests.swift @@ -4,11 +4,11 @@ // License information is available from the LICENSE file. // -@testable import Analytics +@testable import PillarboxAnalytics -import Circumspect import CoreMedia import Nimble +import PillarboxCircumspect // swiftlint:disable:next type_name final class CommandersActStreamingAnalyticsOnDemandTests: CommandersActTestCase { diff --git a/Tests/AnalyticsTests/CommandersAct/CommandersActStreamingAnalyticsStateTransitionTests.swift b/Tests/AnalyticsTests/CommandersAct/CommandersActStreamingAnalyticsStateTransitionTests.swift index fd61a5401..3bceb6ac8 100644 --- a/Tests/AnalyticsTests/CommandersAct/CommandersActStreamingAnalyticsStateTransitionTests.swift +++ b/Tests/AnalyticsTests/CommandersAct/CommandersActStreamingAnalyticsStateTransitionTests.swift @@ -4,7 +4,7 @@ // License information is available from the LICENSE file. // -@testable import Analytics +@testable import PillarboxAnalytics import Nimble diff --git a/Tests/AnalyticsTests/CommandersAct/CommandersActStreamingAnalyticsStreamTypeTests.swift b/Tests/AnalyticsTests/CommandersAct/CommandersActStreamingAnalyticsStreamTypeTests.swift index 92c7619bc..2a0e1fc1f 100644 --- a/Tests/AnalyticsTests/CommandersAct/CommandersActStreamingAnalyticsStreamTypeTests.swift +++ b/Tests/AnalyticsTests/CommandersAct/CommandersActStreamingAnalyticsStreamTypeTests.swift @@ -4,7 +4,7 @@ // License information is available from the LICENSE file. // -@testable import Analytics +@testable import PillarboxAnalytics import Foundation import Nimble diff --git a/Tests/AnalyticsTests/CommandersAct/CommandersActStreamingAnalyticsTests.swift b/Tests/AnalyticsTests/CommandersAct/CommandersActStreamingAnalyticsTests.swift index 73d1758cb..5e75de83e 100644 --- a/Tests/AnalyticsTests/CommandersAct/CommandersActStreamingAnalyticsTests.swift +++ b/Tests/AnalyticsTests/CommandersAct/CommandersActStreamingAnalyticsTests.swift @@ -4,7 +4,7 @@ // License information is available from the LICENSE file. // -@testable import Analytics +@testable import PillarboxAnalytics import Nimble import ObjectiveC diff --git a/Tests/AnalyticsTests/CommandersAct/CommandersActTestCase.swift b/Tests/AnalyticsTests/CommandersAct/CommandersActTestCase.swift index 9e6f6c6b9..b43edc44e 100644 --- a/Tests/AnalyticsTests/CommandersAct/CommandersActTestCase.swift +++ b/Tests/AnalyticsTests/CommandersAct/CommandersActTestCase.swift @@ -4,10 +4,10 @@ // License information is available from the LICENSE file. // -@testable import Analytics +@testable import PillarboxAnalytics -import Circumspect import Dispatch +import PillarboxCircumspect class CommandersActTestCase: TestCase {} diff --git a/Tests/AnalyticsTests/CommandersAct/CommandersActTrackerDvrPropertiesTests.swift b/Tests/AnalyticsTests/CommandersAct/CommandersActTrackerDvrPropertiesTests.swift index ce57cd37c..ec16f0aa2 100644 --- a/Tests/AnalyticsTests/CommandersAct/CommandersActTrackerDvrPropertiesTests.swift +++ b/Tests/AnalyticsTests/CommandersAct/CommandersActTrackerDvrPropertiesTests.swift @@ -4,13 +4,13 @@ // License information is available from the LICENSE file. // -@testable import Analytics +@testable import PillarboxAnalytics -import Circumspect import CoreMedia import Nimble -import Player -import Streams +import PillarboxCircumspect +import PillarboxPlayer +import PillarboxStreams private struct AssetMetadataMock: AssetMetadata {} diff --git a/Tests/AnalyticsTests/CommandersAct/CommandersActTrackerMetadataTests.swift b/Tests/AnalyticsTests/CommandersAct/CommandersActTrackerMetadataTests.swift index c93bb3753..b671747dd 100644 --- a/Tests/AnalyticsTests/CommandersAct/CommandersActTrackerMetadataTests.swift +++ b/Tests/AnalyticsTests/CommandersAct/CommandersActTrackerMetadataTests.swift @@ -4,11 +4,11 @@ // License information is available from the LICENSE file. // -@testable import Analytics +@testable import PillarboxAnalytics import Nimble -import Player -import Streams +import PillarboxPlayer +import PillarboxStreams private struct AssetMetadataMock: AssetMetadata {} diff --git a/Tests/AnalyticsTests/CommandersAct/CommandersActTrackerPositionTests.swift b/Tests/AnalyticsTests/CommandersAct/CommandersActTrackerPositionTests.swift index 1661b9632..4a3a4b7b6 100644 --- a/Tests/AnalyticsTests/CommandersAct/CommandersActTrackerPositionTests.swift +++ b/Tests/AnalyticsTests/CommandersAct/CommandersActTrackerPositionTests.swift @@ -4,13 +4,13 @@ // License information is available from the LICENSE file. // -@testable import Analytics +@testable import PillarboxAnalytics -import Circumspect import CoreMedia import Nimble -import Player -import Streams +import PillarboxCircumspect +import PillarboxPlayer +import PillarboxStreams private struct AssetMetadataMock: AssetMetadata {} diff --git a/Tests/AnalyticsTests/CommandersAct/CommandersActTrackerSeekTests.swift b/Tests/AnalyticsTests/CommandersAct/CommandersActTrackerSeekTests.swift index 3997d2d59..32fed29ed 100644 --- a/Tests/AnalyticsTests/CommandersAct/CommandersActTrackerSeekTests.swift +++ b/Tests/AnalyticsTests/CommandersAct/CommandersActTrackerSeekTests.swift @@ -4,11 +4,11 @@ // License information is available from the LICENSE file. // -@testable import Analytics +@testable import PillarboxAnalytics import Nimble -import Player -import Streams +import PillarboxPlayer +import PillarboxStreams private struct AssetMetadataMock: AssetMetadata {} diff --git a/Tests/AnalyticsTests/CommandersAct/CommandersActTrackerTests.swift b/Tests/AnalyticsTests/CommandersAct/CommandersActTrackerTests.swift index ed0c06cb7..d6ed3e274 100644 --- a/Tests/AnalyticsTests/CommandersAct/CommandersActTrackerTests.swift +++ b/Tests/AnalyticsTests/CommandersAct/CommandersActTrackerTests.swift @@ -4,11 +4,11 @@ // License information is available from the LICENSE file. // -@testable import Analytics +@testable import PillarboxAnalytics import Nimble -import Player -import Streams +import PillarboxPlayer +import PillarboxStreams private struct AssetMetadataMock: AssetMetadata {} diff --git a/Tests/AnalyticsTests/TestCase.swift b/Tests/AnalyticsTests/TestCase.swift index 4996e378f..bf87e30a3 100644 --- a/Tests/AnalyticsTests/TestCase.swift +++ b/Tests/AnalyticsTests/TestCase.swift @@ -4,8 +4,8 @@ // License information is available from the LICENSE file. // -import Analytics import Nimble +import PillarboxAnalytics import XCTest private final class TestCaseDataSource: AnalyticsDataSource { diff --git a/Tests/CircumspectTests/Expectations/ExpectAtLeastPublishedTests.swift b/Tests/CircumspectTests/Expectations/ExpectAtLeastPublishedTests.swift index a0dac8bd7..28455cf7b 100644 --- a/Tests/CircumspectTests/Expectations/ExpectAtLeastPublishedTests.swift +++ b/Tests/CircumspectTests/Expectations/ExpectAtLeastPublishedTests.swift @@ -4,7 +4,7 @@ // License information is available from the LICENSE file. // -@testable import Circumspect +@testable import PillarboxCircumspect import Combine import XCTest diff --git a/Tests/CircumspectTests/Expectations/ExpectNothingPublishedTests.swift b/Tests/CircumspectTests/Expectations/ExpectNothingPublishedTests.swift index d56a8dc51..71d7d9cdf 100644 --- a/Tests/CircumspectTests/Expectations/ExpectNothingPublishedTests.swift +++ b/Tests/CircumspectTests/Expectations/ExpectNothingPublishedTests.swift @@ -4,7 +4,7 @@ // License information is available from the LICENSE file. // -@testable import Circumspect +@testable import PillarboxCircumspect import Combine import XCTest diff --git a/Tests/CircumspectTests/Expectations/ExpectNotificationsTests.swift b/Tests/CircumspectTests/Expectations/ExpectNotificationsTests.swift index 91db90a75..302c42272 100644 --- a/Tests/CircumspectTests/Expectations/ExpectNotificationsTests.swift +++ b/Tests/CircumspectTests/Expectations/ExpectNotificationsTests.swift @@ -4,7 +4,7 @@ // License information is available from the LICENSE file. // -@testable import Circumspect +@testable import PillarboxCircumspect import XCTest diff --git a/Tests/CircumspectTests/Expectations/ExpectOnlyPublishedTests.swift b/Tests/CircumspectTests/Expectations/ExpectOnlyPublishedTests.swift index e01a380ec..2fb55a858 100644 --- a/Tests/CircumspectTests/Expectations/ExpectOnlyPublishedTests.swift +++ b/Tests/CircumspectTests/Expectations/ExpectOnlyPublishedTests.swift @@ -4,7 +4,7 @@ // License information is available from the LICENSE file. // -@testable import Circumspect +@testable import PillarboxCircumspect import Combine import XCTest diff --git a/Tests/CircumspectTests/Expectations/ExpectPublishedTests.swift b/Tests/CircumspectTests/Expectations/ExpectPublishedTests.swift index 882f6eae3..19460c7f7 100644 --- a/Tests/CircumspectTests/Expectations/ExpectPublishedTests.swift +++ b/Tests/CircumspectTests/Expectations/ExpectPublishedTests.swift @@ -4,7 +4,7 @@ // License information is available from the LICENSE file. // -@testable import Circumspect +@testable import PillarboxCircumspect import Combine import XCTest diff --git a/Tests/CircumspectTests/Expectations/ExpectResultTests.swift b/Tests/CircumspectTests/Expectations/ExpectResultTests.swift index 81a6b6d57..bede20846 100644 --- a/Tests/CircumspectTests/Expectations/ExpectResultTests.swift +++ b/Tests/CircumspectTests/Expectations/ExpectResultTests.swift @@ -4,7 +4,7 @@ // License information is available from the LICENSE file. // -@testable import Circumspect +@testable import PillarboxCircumspect import Combine import XCTest diff --git a/Tests/CircumspectTests/ObservableObjectTests.swift b/Tests/CircumspectTests/ObservableObjectTests.swift index 0088cb1e6..5c23cfc0c 100644 --- a/Tests/CircumspectTests/ObservableObjectTests.swift +++ b/Tests/CircumspectTests/ObservableObjectTests.swift @@ -4,7 +4,7 @@ // License information is available from the LICENSE file. // -@testable import Circumspect +@testable import PillarboxCircumspect import Nimble import XCTest diff --git a/Tests/CircumspectTests/PublishersTests.swift b/Tests/CircumspectTests/PublishersTests.swift index faae70408..4878f69a7 100644 --- a/Tests/CircumspectTests/PublishersTests.swift +++ b/Tests/CircumspectTests/PublishersTests.swift @@ -4,7 +4,7 @@ // License information is available from the LICENSE file. // -@testable import Circumspect +@testable import PillarboxCircumspect import Combine import Nimble diff --git a/Tests/CircumspectTests/SimilarityTests.swift b/Tests/CircumspectTests/SimilarityTests.swift index 4a1fac0e5..37a3609bf 100644 --- a/Tests/CircumspectTests/SimilarityTests.swift +++ b/Tests/CircumspectTests/SimilarityTests.swift @@ -4,7 +4,7 @@ // License information is available from the LICENSE file. // -@testable import Circumspect +@testable import PillarboxCircumspect import Nimble import XCTest diff --git a/Tests/CircumspectTests/TimeIntervalTests.swift b/Tests/CircumspectTests/TimeIntervalTests.swift index 384f41b58..4f9f082fe 100644 --- a/Tests/CircumspectTests/TimeIntervalTests.swift +++ b/Tests/CircumspectTests/TimeIntervalTests.swift @@ -4,7 +4,7 @@ // License information is available from the LICENSE file. // -@testable import Circumspect +@testable import PillarboxCircumspect import Dispatch import Nimble diff --git a/Tests/CircumspectTests/Tools.swift b/Tests/CircumspectTests/Tools.swift index d4221c56b..c35423dd5 100644 --- a/Tests/CircumspectTests/Tools.swift +++ b/Tests/CircumspectTests/Tools.swift @@ -4,8 +4,8 @@ // License information is available from the LICENSE file. // -import Circumspect import Foundation +import PillarboxCircumspect struct StructError: Error {} diff --git a/Tests/CoreBusinessTests/AkamaiURLCodingTests.swift b/Tests/CoreBusinessTests/AkamaiURLCodingTests.swift index 0162c3a6a..ab3a58ab1 100644 --- a/Tests/CoreBusinessTests/AkamaiURLCodingTests.swift +++ b/Tests/CoreBusinessTests/AkamaiURLCodingTests.swift @@ -4,7 +4,7 @@ // License information is available from the LICENSE file. // -@testable import CoreBusiness +@testable import PillarboxCoreBusiness import Nimble import XCTest diff --git a/Tests/CoreBusinessTests/DataProviderTests.swift b/Tests/CoreBusinessTests/DataProviderTests.swift index 003a9974e..8b64a4fd6 100644 --- a/Tests/CoreBusinessTests/DataProviderTests.swift +++ b/Tests/CoreBusinessTests/DataProviderTests.swift @@ -4,9 +4,9 @@ // License information is available from the LICENSE file. // -@testable import CoreBusiness +@testable import PillarboxCoreBusiness -import Circumspect +import PillarboxCircumspect import XCTest final class DataProviderTests: XCTestCase { diff --git a/Tests/CoreBusinessTests/ErrorsTests.swift b/Tests/CoreBusinessTests/ErrorsTests.swift index 6afb6659a..50cb74ae6 100644 --- a/Tests/CoreBusinessTests/ErrorsTests.swift +++ b/Tests/CoreBusinessTests/ErrorsTests.swift @@ -4,7 +4,7 @@ // License information is available from the LICENSE file. // -@testable import CoreBusiness +@testable import PillarboxCoreBusiness import Nimble import XCTest diff --git a/Tests/CoreBusinessTests/HTTPURLResponseTests.swift b/Tests/CoreBusinessTests/HTTPURLResponseTests.swift index eb396be70..87c5bd8e6 100644 --- a/Tests/CoreBusinessTests/HTTPURLResponseTests.swift +++ b/Tests/CoreBusinessTests/HTTPURLResponseTests.swift @@ -4,7 +4,7 @@ // License information is available from the LICENSE file. // -@testable import CoreBusiness +@testable import PillarboxCoreBusiness import Nimble import XCTest diff --git a/Tests/CoreBusinessTests/MediaCompositionTests.swift b/Tests/CoreBusinessTests/MediaCompositionTests.swift index 40a30da01..5d2d460ba 100644 --- a/Tests/CoreBusinessTests/MediaCompositionTests.swift +++ b/Tests/CoreBusinessTests/MediaCompositionTests.swift @@ -4,7 +4,7 @@ // License information is available from the LICENSE file. // -@testable import CoreBusiness +@testable import PillarboxCoreBusiness import Nimble import XCTest diff --git a/Tests/CoreBusinessTests/MediaMetadataTests.swift b/Tests/CoreBusinessTests/MediaMetadataTests.swift index 1c6e0d06f..9706b1d94 100644 --- a/Tests/CoreBusinessTests/MediaMetadataTests.swift +++ b/Tests/CoreBusinessTests/MediaMetadataTests.swift @@ -4,7 +4,7 @@ // License information is available from the LICENSE file. // -@testable import CoreBusiness +@testable import PillarboxCoreBusiness import Nimble import XCTest diff --git a/Tests/CoreBusinessTests/Mock.swift b/Tests/CoreBusinessTests/Mock.swift index 77004f4b1..3ad812531 100644 --- a/Tests/CoreBusinessTests/Mock.swift +++ b/Tests/CoreBusinessTests/Mock.swift @@ -4,7 +4,7 @@ // License information is available from the LICENSE file. // -@testable import CoreBusiness +@testable import PillarboxCoreBusiness import Foundation import UIKit diff --git a/Tests/CoreBusinessTests/PlayerItemTests.swift b/Tests/CoreBusinessTests/PlayerItemTests.swift index b4cc14ea0..fc61a0623 100644 --- a/Tests/CoreBusinessTests/PlayerItemTests.swift +++ b/Tests/CoreBusinessTests/PlayerItemTests.swift @@ -4,11 +4,11 @@ // License information is available from the LICENSE file. // -@testable import CoreBusiness +@testable import PillarboxCoreBusiness -import Circumspect import Combine -import Player +import PillarboxCircumspect +import PillarboxPlayer import XCTest final class PlayerItemTests: XCTestCase { diff --git a/Tests/CoreBusinessTests/PublishersTests.swift b/Tests/CoreBusinessTests/PublishersTests.swift index 7b5680570..b8e8680b4 100644 --- a/Tests/CoreBusinessTests/PublishersTests.swift +++ b/Tests/CoreBusinessTests/PublishersTests.swift @@ -4,9 +4,9 @@ // License information is available from the LICENSE file. // -@testable import CoreBusiness +@testable import PillarboxCoreBusiness -import Circumspect +import PillarboxCircumspect import XCTest final class PublishersTests: XCTestCase { diff --git a/Tests/CoreTests/AccumulatePublisherTests.swift b/Tests/CoreTests/AccumulatePublisherTests.swift index ad3dd7314..c32a22ece 100644 --- a/Tests/CoreTests/AccumulatePublisherTests.swift +++ b/Tests/CoreTests/AccumulatePublisherTests.swift @@ -4,10 +4,10 @@ // License information is available from the LICENSE file. // -@testable import Core +@testable import PillarboxCore -import Circumspect import Combine +import PillarboxCircumspect import XCTest final class AccumulatePublisherTests: XCTestCase { diff --git a/Tests/CoreTests/ArrayTests.swift b/Tests/CoreTests/ArrayTests.swift index 03cc760a9..d840ea30e 100644 --- a/Tests/CoreTests/ArrayTests.swift +++ b/Tests/CoreTests/ArrayTests.swift @@ -4,10 +4,10 @@ // License information is available from the LICENSE file. // -@testable import Core +@testable import PillarboxCore -import Circumspect import Nimble +import PillarboxCircumspect import XCTest final class ArrayTests: XCTestCase { diff --git a/Tests/CoreTests/CombineLatestTests.swift b/Tests/CoreTests/CombineLatestTests.swift index 22df5368e..b6f83f661 100644 --- a/Tests/CoreTests/CombineLatestTests.swift +++ b/Tests/CoreTests/CombineLatestTests.swift @@ -4,10 +4,10 @@ // License information is available from the LICENSE file. // -@testable import Core +@testable import PillarboxCore -import Circumspect import Combine +import PillarboxCircumspect import XCTest final class CombineLatestPublisherTests: XCTestCase { diff --git a/Tests/CoreTests/ComparableTests.swift b/Tests/CoreTests/ComparableTests.swift index 422767261..6546fc69c 100644 --- a/Tests/CoreTests/ComparableTests.swift +++ b/Tests/CoreTests/ComparableTests.swift @@ -4,7 +4,7 @@ // License information is available from the LICENSE file. // -@testable import Core +@testable import PillarboxCore import Nimble import XCTest diff --git a/Tests/CoreTests/DispatchPublisherTests.swift b/Tests/CoreTests/DispatchPublisherTests.swift index 80b3ac2ea..2967bd73e 100644 --- a/Tests/CoreTests/DispatchPublisherTests.swift +++ b/Tests/CoreTests/DispatchPublisherTests.swift @@ -4,7 +4,7 @@ // License information is available from the LICENSE file. // -@testable import Core +@testable import PillarboxCore import Combine import Nimble diff --git a/Tests/CoreTests/NotificationPublisherDeallocationTests.swift b/Tests/CoreTests/NotificationPublisherDeallocationTests.swift index 845c8d406..9621f1339 100644 --- a/Tests/CoreTests/NotificationPublisherDeallocationTests.swift +++ b/Tests/CoreTests/NotificationPublisherDeallocationTests.swift @@ -4,10 +4,10 @@ // License information is available from the LICENSE file. // -@testable import Core +@testable import PillarboxCore -import Circumspect import Nimble +import PillarboxCircumspect import XCTest final class NotificationPublisherDeallocationTests: XCTestCase { diff --git a/Tests/CoreTests/NotificationPublisherTests.swift b/Tests/CoreTests/NotificationPublisherTests.swift index 8cab648b1..832368808 100644 --- a/Tests/CoreTests/NotificationPublisherTests.swift +++ b/Tests/CoreTests/NotificationPublisherTests.swift @@ -4,10 +4,10 @@ // License information is available from the LICENSE file. // -@testable import Core +@testable import PillarboxCore -import Circumspect import Nimble +import PillarboxCircumspect import XCTest final class NotificationPublisherTests: XCTestCase { diff --git a/Tests/CoreTests/PublishAndRepeatOnOutputFromTests.swift b/Tests/CoreTests/PublishAndRepeatOnOutputFromTests.swift index 2fdceb72c..1f5a2aae5 100644 --- a/Tests/CoreTests/PublishAndRepeatOnOutputFromTests.swift +++ b/Tests/CoreTests/PublishAndRepeatOnOutputFromTests.swift @@ -4,10 +4,10 @@ // License information is available from the LICENSE file. // -@testable import Core +@testable import PillarboxCore -import Circumspect import Combine +import PillarboxCircumspect import XCTest final class PublishAndRepeatOnOutputFromTests: XCTestCase { diff --git a/Tests/CoreTests/PublishOnOutputFromTests.swift b/Tests/CoreTests/PublishOnOutputFromTests.swift index c499a3171..68e5963e3 100644 --- a/Tests/CoreTests/PublishOnOutputFromTests.swift +++ b/Tests/CoreTests/PublishOnOutputFromTests.swift @@ -4,10 +4,10 @@ // License information is available from the LICENSE file. // -@testable import Core +@testable import PillarboxCore -import Circumspect import Combine +import PillarboxCircumspect import XCTest final class PublishOnOutputFromTests: XCTestCase { diff --git a/Tests/CoreTests/RangeReplaceableCollectionTests.swift b/Tests/CoreTests/RangeReplaceableCollectionTests.swift index 3d2071eb5..4d23c50fd 100644 --- a/Tests/CoreTests/RangeReplaceableCollectionTests.swift +++ b/Tests/CoreTests/RangeReplaceableCollectionTests.swift @@ -4,10 +4,10 @@ // License information is available from the LICENSE file. // -@testable import Core +@testable import PillarboxCore -import Circumspect import Nimble +import PillarboxCircumspect import XCTest final class RangeReplaceableCollectionTests: XCTestCase { diff --git a/Tests/CoreTests/SlicePublisherTest.swift b/Tests/CoreTests/SlicePublisherTest.swift index b33ed229b..30caeca8d 100644 --- a/Tests/CoreTests/SlicePublisherTest.swift +++ b/Tests/CoreTests/SlicePublisherTest.swift @@ -4,10 +4,10 @@ // License information is available from the LICENSE file. // -@testable import Core +@testable import PillarboxCore -import Circumspect import Combine +import PillarboxCircumspect import XCTest private struct Person: Equatable { diff --git a/Tests/CoreTests/TimeTests.swift b/Tests/CoreTests/TimeTests.swift index 56e9fe6bc..f1c1ca180 100644 --- a/Tests/CoreTests/TimeTests.swift +++ b/Tests/CoreTests/TimeTests.swift @@ -4,7 +4,7 @@ // License information is available from the LICENSE file. // -@testable import Core +@testable import PillarboxCore import CoreMedia import Nimble diff --git a/Tests/CoreTests/TriggerTests.swift b/Tests/CoreTests/TriggerTests.swift index e4eaec6a1..493f225d6 100644 --- a/Tests/CoreTests/TriggerTests.swift +++ b/Tests/CoreTests/TriggerTests.swift @@ -4,10 +4,10 @@ // License information is available from the LICENSE file. // -@testable import Core +@testable import PillarboxCore -import Circumspect import Combine +import PillarboxCircumspect import XCTest final class TriggerTests: XCTestCase { diff --git a/Tests/CoreTests/WeakCapturePublisherTests.swift b/Tests/CoreTests/WeakCapturePublisherTests.swift index 4d56c10ab..49b55c97a 100644 --- a/Tests/CoreTests/WeakCapturePublisherTests.swift +++ b/Tests/CoreTests/WeakCapturePublisherTests.swift @@ -4,7 +4,7 @@ // License information is available from the LICENSE file. // -@testable import Core +@testable import PillarboxCore import Combine import Nimble diff --git a/Tests/CoreTests/WithPreviousPublisherTests.swift b/Tests/CoreTests/WithPreviousPublisherTests.swift index 7b01b9eea..7cd92f108 100644 --- a/Tests/CoreTests/WithPreviousPublisherTests.swift +++ b/Tests/CoreTests/WithPreviousPublisherTests.swift @@ -4,10 +4,10 @@ // License information is available from the LICENSE file. // -@testable import Core +@testable import PillarboxCore -import Circumspect import Combine +import PillarboxCircumspect import XCTest final class WithPreviousPublisherTests: XCTestCase { diff --git a/Tests/PlayerTests/AVPlayer/AVPlayerItemTests.swift b/Tests/PlayerTests/AVPlayer/AVPlayerItemTests.swift index 41a80c29f..90e235cb7 100644 --- a/Tests/PlayerTests/AVPlayer/AVPlayerItemTests.swift +++ b/Tests/PlayerTests/AVPlayer/AVPlayerItemTests.swift @@ -4,11 +4,11 @@ // License information is available from the LICENSE file. // -@testable import Player +@testable import PillarboxPlayer import AVFoundation import Nimble -import Streams +import PillarboxStreams final class AVPlayerItemTests: TestCase { func testNonLoadedItem() { diff --git a/Tests/PlayerTests/AVPlayer/AVPlayerTests.swift b/Tests/PlayerTests/AVPlayer/AVPlayerTests.swift index f0a4bf2f4..d7a7351eb 100644 --- a/Tests/PlayerTests/AVPlayer/AVPlayerTests.swift +++ b/Tests/PlayerTests/AVPlayer/AVPlayerTests.swift @@ -4,11 +4,11 @@ // License information is available from the LICENSE file. // -@testable import Player +@testable import PillarboxPlayer import AVFoundation import Nimble -import Streams +import PillarboxStreams final class AVPlayerTests: TestCase { func testTimeRangeWhenEmpty() { diff --git a/Tests/PlayerTests/Asset/AssetCreationTests.swift b/Tests/PlayerTests/Asset/AssetCreationTests.swift index 93ffd26e6..93bd2b08b 100644 --- a/Tests/PlayerTests/Asset/AssetCreationTests.swift +++ b/Tests/PlayerTests/Asset/AssetCreationTests.swift @@ -4,10 +4,10 @@ // License information is available from the LICENSE file. // -@testable import Player +@testable import PillarboxPlayer import Nimble -import Streams +import PillarboxStreams final class AssetCreationTests: TestCase { func testSimpleAsset() { diff --git a/Tests/PlayerTests/Asset/AssetMetadataMock.swift b/Tests/PlayerTests/Asset/AssetMetadataMock.swift index 505b80bcf..6e8c378f1 100644 --- a/Tests/PlayerTests/Asset/AssetMetadataMock.swift +++ b/Tests/PlayerTests/Asset/AssetMetadataMock.swift @@ -4,7 +4,7 @@ // License information is available from the LICENSE file. // -import Player +import PillarboxPlayer struct AssetMetadataMock: Decodable { let title: String diff --git a/Tests/PlayerTests/Asset/AssetPlayerItemTests.swift b/Tests/PlayerTests/Asset/AssetPlayerItemTests.swift index 226879f45..4146aaa49 100644 --- a/Tests/PlayerTests/Asset/AssetPlayerItemTests.swift +++ b/Tests/PlayerTests/Asset/AssetPlayerItemTests.swift @@ -4,11 +4,11 @@ // License information is available from the LICENSE file. // -@testable import Player +@testable import PillarboxPlayer import AVFoundation -import Circumspect -import Streams +import PillarboxCircumspect +import PillarboxStreams final class AssetPlayerItemTests: TestCase { func testNativePlayerItem() { diff --git a/Tests/PlayerTests/Asset/AssetableTests.swift b/Tests/PlayerTests/Asset/AssetableTests.swift index 370c3a126..3804d6dde 100644 --- a/Tests/PlayerTests/Asset/AssetableTests.swift +++ b/Tests/PlayerTests/Asset/AssetableTests.swift @@ -4,11 +4,11 @@ // License information is available from the LICENSE file. // -@testable import Player +@testable import PillarboxPlayer import AVFoundation import Nimble -import Streams +import PillarboxStreams final class AssetableTests: TestCase { func testPlayerItemsWithoutCurrentItem() { diff --git a/Tests/PlayerTests/MediaSelection/AVMediaSelectionGroupTests.swift b/Tests/PlayerTests/MediaSelection/AVMediaSelectionGroupTests.swift index f2b897083..faa016ca7 100644 --- a/Tests/PlayerTests/MediaSelection/AVMediaSelectionGroupTests.swift +++ b/Tests/PlayerTests/MediaSelection/AVMediaSelectionGroupTests.swift @@ -4,7 +4,7 @@ // License information is available from the LICENSE file. // -@testable import Player +@testable import PillarboxPlayer import AVFoundation import Nimble diff --git a/Tests/PlayerTests/MediaSelection/AVMediaSelectionOptionTests.swift b/Tests/PlayerTests/MediaSelection/AVMediaSelectionOptionTests.swift index 5a7447a4e..870c8b511 100644 --- a/Tests/PlayerTests/MediaSelection/AVMediaSelectionOptionTests.swift +++ b/Tests/PlayerTests/MediaSelection/AVMediaSelectionOptionTests.swift @@ -4,7 +4,7 @@ // License information is available from the LICENSE file. // -@testable import Player +@testable import PillarboxPlayer import AVFoundation import Nimble diff --git a/Tests/PlayerTests/MediaSelection/MediaSelectionTests.swift b/Tests/PlayerTests/MediaSelection/MediaSelectionTests.swift index a5c49108a..4ea5bf973 100644 --- a/Tests/PlayerTests/MediaSelection/MediaSelectionTests.swift +++ b/Tests/PlayerTests/MediaSelection/MediaSelectionTests.swift @@ -4,11 +4,11 @@ // License information is available from the LICENSE file. // -@testable import Player +@testable import PillarboxPlayer import AVFoundation import Nimble -import Streams +import PillarboxStreams final class MediaSelectionTests: TestCase { func testCharacteristicsAndOptionsWhenEmpty() { diff --git a/Tests/PlayerTests/MediaSelection/PreferredLanguagesForMediaSelectionTests.swift b/Tests/PlayerTests/MediaSelection/PreferredLanguagesForMediaSelectionTests.swift index 6c2611f20..624dae8ae 100644 --- a/Tests/PlayerTests/MediaSelection/PreferredLanguagesForMediaSelectionTests.swift +++ b/Tests/PlayerTests/MediaSelection/PreferredLanguagesForMediaSelectionTests.swift @@ -4,11 +4,11 @@ // License information is available from the LICENSE file. // -@testable import Player +@testable import PillarboxPlayer import AVFoundation import Nimble -import Streams +import PillarboxStreams final class PreferredLanguagesForMediaSelectionTests: TestCase { func testAudibleOptionMatchesAvailablePreferredLanguage() { diff --git a/Tests/PlayerTests/Player/PlaybackSpeedUpdateTests.swift b/Tests/PlayerTests/Player/PlaybackSpeedUpdateTests.swift index 182ed989c..c749f3c7f 100644 --- a/Tests/PlayerTests/Player/PlaybackSpeedUpdateTests.swift +++ b/Tests/PlayerTests/Player/PlaybackSpeedUpdateTests.swift @@ -4,7 +4,7 @@ // License information is available from the LICENSE file. // -@testable import Player +@testable import PillarboxPlayer import Nimble diff --git a/Tests/PlayerTests/Player/PlayerTests.swift b/Tests/PlayerTests/Player/PlayerTests.swift index 588471313..204d5552d 100644 --- a/Tests/PlayerTests/Player/PlayerTests.swift +++ b/Tests/PlayerTests/Player/PlayerTests.swift @@ -4,12 +4,12 @@ // License information is available from the LICENSE file. // -@testable import Player +@testable import PillarboxPlayer -import Circumspect import CoreMedia import Nimble -import Streams +import PillarboxCircumspect +import PillarboxStreams final class PlayerTests: TestCase { func testDeallocation() { diff --git a/Tests/PlayerTests/Player/ReplayChecksTests.swift b/Tests/PlayerTests/Player/ReplayChecksTests.swift index 432036ae1..a909d45bb 100644 --- a/Tests/PlayerTests/Player/ReplayChecksTests.swift +++ b/Tests/PlayerTests/Player/ReplayChecksTests.swift @@ -4,10 +4,10 @@ // License information is available from the LICENSE file. // -@testable import Player +@testable import PillarboxPlayer import Nimble -import Streams +import PillarboxStreams final class ReplayChecksTests: TestCase { func testEmptyPlayer() { diff --git a/Tests/PlayerTests/Player/ReplayTests.swift b/Tests/PlayerTests/Player/ReplayTests.swift index 77024f042..2a4a3e182 100644 --- a/Tests/PlayerTests/Player/ReplayTests.swift +++ b/Tests/PlayerTests/Player/ReplayTests.swift @@ -4,10 +4,10 @@ // License information is available from the LICENSE file. // -@testable import Player +@testable import PillarboxPlayer import Nimble -import Streams +import PillarboxStreams final class ReplayTests: TestCase { func testWithOneGoodItem() { diff --git a/Tests/PlayerTests/Player/SeekChecksTests.swift b/Tests/PlayerTests/Player/SeekChecksTests.swift index 96e4f6d01..dccc164a1 100644 --- a/Tests/PlayerTests/Player/SeekChecksTests.swift +++ b/Tests/PlayerTests/Player/SeekChecksTests.swift @@ -4,11 +4,11 @@ // License information is available from the LICENSE file. // -@testable import Player +@testable import PillarboxPlayer import CoreMedia import Nimble -import Streams +import PillarboxStreams final class SeekChecksTests: TestCase { func testCannotSeekWithEmptyPlayer() { diff --git a/Tests/PlayerTests/Player/SeekTests.swift b/Tests/PlayerTests/Player/SeekTests.swift index 0f8b71e51..34025358f 100644 --- a/Tests/PlayerTests/Player/SeekTests.swift +++ b/Tests/PlayerTests/Player/SeekTests.swift @@ -4,12 +4,12 @@ // License information is available from the LICENSE file. // -@testable import Player +@testable import PillarboxPlayer -import Circumspect import CoreMedia import Nimble -import Streams +import PillarboxCircumspect +import PillarboxStreams final class SeekTests: TestCase { func testSeekWhenEmpty() { diff --git a/Tests/PlayerTests/Player/SpeedTests.swift b/Tests/PlayerTests/Player/SpeedTests.swift index 4996f4567..ee52a483b 100644 --- a/Tests/PlayerTests/Player/SpeedTests.swift +++ b/Tests/PlayerTests/Player/SpeedTests.swift @@ -4,11 +4,11 @@ // License information is available from the LICENSE file. // -@testable import Player +@testable import PillarboxPlayer -import Circumspect import Nimble -import Streams +import PillarboxCircumspect +import PillarboxStreams final class SpeedTests: TestCase { func testEmpty() { diff --git a/Tests/PlayerTests/Player/TextStyleRulesTests.swift b/Tests/PlayerTests/Player/TextStyleRulesTests.swift index f8c48dbe5..2b87878a0 100644 --- a/Tests/PlayerTests/Player/TextStyleRulesTests.swift +++ b/Tests/PlayerTests/Player/TextStyleRulesTests.swift @@ -4,11 +4,11 @@ // License information is available from the LICENSE file. // -@testable import Player +@testable import PillarboxPlayer import AVFoundation import Nimble -import Streams +import PillarboxStreams final class TextStyleRulesTests: TestCase { private static var textStyleRules: [AVTextStyleRule] = { diff --git a/Tests/PlayerTests/PlayerItem/PlayerItemCreationTests.swift b/Tests/PlayerTests/PlayerItem/PlayerItemCreationTests.swift index 715e64d92..8f7246fb4 100644 --- a/Tests/PlayerTests/PlayerItem/PlayerItemCreationTests.swift +++ b/Tests/PlayerTests/PlayerItem/PlayerItemCreationTests.swift @@ -4,10 +4,10 @@ // License information is available from the LICENSE file. // -@testable import Player +@testable import PillarboxPlayer import Nimble -import Streams +import PillarboxStreams final class PlayerItemCreationTests: TestCase { func testSimpleItem() { diff --git a/Tests/PlayerTests/Playlist/CurrentIndexTests.swift b/Tests/PlayerTests/Playlist/CurrentIndexTests.swift index 65d28b476..3914ce674 100644 --- a/Tests/PlayerTests/Playlist/CurrentIndexTests.swift +++ b/Tests/PlayerTests/Playlist/CurrentIndexTests.swift @@ -4,12 +4,12 @@ // License information is available from the LICENSE file. // -@testable import Player +@testable import PillarboxPlayer import AVFoundation -import Circumspect import Nimble -import Streams +import PillarboxCircumspect +import PillarboxStreams final class CurrentIndexTests: TestCase { func testCurrentIndex() { diff --git a/Tests/PlayerTests/Playlist/ItemInsertionAfterTests.swift b/Tests/PlayerTests/Playlist/ItemInsertionAfterTests.swift index 917490193..7452d3378 100644 --- a/Tests/PlayerTests/Playlist/ItemInsertionAfterTests.swift +++ b/Tests/PlayerTests/Playlist/ItemInsertionAfterTests.swift @@ -4,11 +4,11 @@ // License information is available from the LICENSE file. // -@testable import Player +@testable import PillarboxPlayer -import Circumspect import Nimble -import Streams +import PillarboxCircumspect +import PillarboxStreams final class ItemInsertionAfterTests: TestCase { func testInsertItemAfterNextItem() { diff --git a/Tests/PlayerTests/Playlist/ItemInsertionBeforeTests.swift b/Tests/PlayerTests/Playlist/ItemInsertionBeforeTests.swift index 7e1aa1e57..f36f303bb 100644 --- a/Tests/PlayerTests/Playlist/ItemInsertionBeforeTests.swift +++ b/Tests/PlayerTests/Playlist/ItemInsertionBeforeTests.swift @@ -4,11 +4,11 @@ // License information is available from the LICENSE file. // -@testable import Player +@testable import PillarboxPlayer -import Circumspect import Nimble -import Streams +import PillarboxCircumspect +import PillarboxStreams final class ItemInsertionBeforeTests: TestCase { func testInsertItemBeforeNextItem() { diff --git a/Tests/PlayerTests/Playlist/ItemMoveAfterTests.swift b/Tests/PlayerTests/Playlist/ItemMoveAfterTests.swift index 48902511b..79cfe0031 100644 --- a/Tests/PlayerTests/Playlist/ItemMoveAfterTests.swift +++ b/Tests/PlayerTests/Playlist/ItemMoveAfterTests.swift @@ -4,11 +4,11 @@ // License information is available from the LICENSE file. // -@testable import Player +@testable import PillarboxPlayer -import Circumspect import Nimble -import Streams +import PillarboxCircumspect +import PillarboxStreams final class ItemMoveAfterTests: TestCase { func testMovePreviousItemAfterNextItem() { diff --git a/Tests/PlayerTests/Playlist/ItemMoveBeforeTests.swift b/Tests/PlayerTests/Playlist/ItemMoveBeforeTests.swift index 30e29dfef..4c522b6ed 100644 --- a/Tests/PlayerTests/Playlist/ItemMoveBeforeTests.swift +++ b/Tests/PlayerTests/Playlist/ItemMoveBeforeTests.swift @@ -4,11 +4,11 @@ // License information is available from the LICENSE file. // -@testable import Player +@testable import PillarboxPlayer -import Circumspect import Nimble -import Streams +import PillarboxCircumspect +import PillarboxStreams final class ItemMoveBeforeTests: TestCase { func testMovePreviousItemBeforeNextItem() { diff --git a/Tests/PlayerTests/Playlist/ItemNavigationBackwardChecksTests.swift b/Tests/PlayerTests/Playlist/ItemNavigationBackwardChecksTests.swift index bead24ad4..1dcd733d7 100644 --- a/Tests/PlayerTests/Playlist/ItemNavigationBackwardChecksTests.swift +++ b/Tests/PlayerTests/Playlist/ItemNavigationBackwardChecksTests.swift @@ -4,10 +4,10 @@ // License information is available from the LICENSE file. // -@testable import Player +@testable import PillarboxPlayer import Nimble -import Streams +import PillarboxStreams final class ItemNavigationBackwardChecksTests: TestCase { func testCanReturnToPreviousItem() { diff --git a/Tests/PlayerTests/Playlist/ItemNavigationBackwardTests.swift b/Tests/PlayerTests/Playlist/ItemNavigationBackwardTests.swift index 07ab009bd..942ef155b 100644 --- a/Tests/PlayerTests/Playlist/ItemNavigationBackwardTests.swift +++ b/Tests/PlayerTests/Playlist/ItemNavigationBackwardTests.swift @@ -4,10 +4,10 @@ // License information is available from the LICENSE file. // -@testable import Player +@testable import PillarboxPlayer import Nimble -import Streams +import PillarboxStreams final class ItemNavigationBackwardTests: TestCase { func testReturnToPreviousItem() { diff --git a/Tests/PlayerTests/Playlist/ItemNavigationForwardChecksTests.swift b/Tests/PlayerTests/Playlist/ItemNavigationForwardChecksTests.swift index e085a36a0..50e706ff1 100644 --- a/Tests/PlayerTests/Playlist/ItemNavigationForwardChecksTests.swift +++ b/Tests/PlayerTests/Playlist/ItemNavigationForwardChecksTests.swift @@ -4,10 +4,10 @@ // License information is available from the LICENSE file. // -@testable import Player +@testable import PillarboxPlayer import Nimble -import Streams +import PillarboxStreams final class ItemNavigationForwardChecksTests: TestCase { func testCanAdvanceToNextItem() { diff --git a/Tests/PlayerTests/Playlist/ItemNavigationForwardTests.swift b/Tests/PlayerTests/Playlist/ItemNavigationForwardTests.swift index c7411da81..d37c2fa5b 100644 --- a/Tests/PlayerTests/Playlist/ItemNavigationForwardTests.swift +++ b/Tests/PlayerTests/Playlist/ItemNavigationForwardTests.swift @@ -4,10 +4,10 @@ // License information is available from the LICENSE file. // -@testable import Player +@testable import PillarboxPlayer import Nimble -import Streams +import PillarboxStreams final class ItemNavigationForwardTests: TestCase { func testAdvanceToNextItem() { diff --git a/Tests/PlayerTests/Playlist/ItemRemovalTests.swift b/Tests/PlayerTests/Playlist/ItemRemovalTests.swift index 02155ccbc..384c1a9b5 100644 --- a/Tests/PlayerTests/Playlist/ItemRemovalTests.swift +++ b/Tests/PlayerTests/Playlist/ItemRemovalTests.swift @@ -4,11 +4,11 @@ // License information is available from the LICENSE file. // -@testable import Player +@testable import PillarboxPlayer -import Circumspect import Nimble -import Streams +import PillarboxCircumspect +import PillarboxStreams final class ItemRemovalTests: TestCase { func testRemovePreviousItem() { diff --git a/Tests/PlayerTests/Playlist/ItemsTests.swift b/Tests/PlayerTests/Playlist/ItemsTests.swift index f45bff47f..e41ae5afc 100644 --- a/Tests/PlayerTests/Playlist/ItemsTests.swift +++ b/Tests/PlayerTests/Playlist/ItemsTests.swift @@ -4,11 +4,11 @@ // License information is available from the LICENSE file. // -@testable import Player +@testable import PillarboxPlayer -import Circumspect import Nimble -import Streams +import PillarboxCircumspect +import PillarboxStreams final class ItemsTests: TestCase { func testItemsOnFirstItem() { diff --git a/Tests/PlayerTests/Playlist/ItemsUpdateTests.swift b/Tests/PlayerTests/Playlist/ItemsUpdateTests.swift index b719a66c4..895f434df 100644 --- a/Tests/PlayerTests/Playlist/ItemsUpdateTests.swift +++ b/Tests/PlayerTests/Playlist/ItemsUpdateTests.swift @@ -4,11 +4,11 @@ // License information is available from the LICENSE file. // -@testable import Player +@testable import PillarboxPlayer -import Circumspect import Nimble -import Streams +import PillarboxCircumspect +import PillarboxStreams final class ItemsUpdateTests: TestCase { func testUpdateWithCurrentItem() { diff --git a/Tests/PlayerTests/Playlist/NavigationBackwardChecksTests.swift b/Tests/PlayerTests/Playlist/NavigationBackwardChecksTests.swift index 7d31aa14e..a2a62a860 100644 --- a/Tests/PlayerTests/Playlist/NavigationBackwardChecksTests.swift +++ b/Tests/PlayerTests/Playlist/NavigationBackwardChecksTests.swift @@ -4,11 +4,11 @@ // License information is available from the LICENSE file. // -@testable import Player +@testable import PillarboxPlayer import CoreMedia import Nimble -import Streams +import PillarboxStreams final class NavigationBackwardChecksTests: TestCase { private static func configuration() -> PlayerConfiguration { diff --git a/Tests/PlayerTests/Playlist/NavigationBackwardTests.swift b/Tests/PlayerTests/Playlist/NavigationBackwardTests.swift index f45f05d19..7c3651658 100644 --- a/Tests/PlayerTests/Playlist/NavigationBackwardTests.swift +++ b/Tests/PlayerTests/Playlist/NavigationBackwardTests.swift @@ -4,11 +4,11 @@ // License information is available from the LICENSE file. // -@testable import Player +@testable import PillarboxPlayer import CoreMedia import Nimble -import Streams +import PillarboxStreams final class NavigationBackwardTests: TestCase { private static func configuration() -> PlayerConfiguration { diff --git a/Tests/PlayerTests/Playlist/NavigationForwardChecksTests.swift b/Tests/PlayerTests/Playlist/NavigationForwardChecksTests.swift index 62eda73c6..2e075dc86 100644 --- a/Tests/PlayerTests/Playlist/NavigationForwardChecksTests.swift +++ b/Tests/PlayerTests/Playlist/NavigationForwardChecksTests.swift @@ -4,10 +4,10 @@ // License information is available from the LICENSE file. // -@testable import Player +@testable import PillarboxPlayer import Nimble -import Streams +import PillarboxStreams final class NavigationForwardChecksTests: TestCase { func testCanAdvanceForOnDemandWithNextItem() { diff --git a/Tests/PlayerTests/Playlist/NavigationForwardTests.swift b/Tests/PlayerTests/Playlist/NavigationForwardTests.swift index 93641c520..cb3cf4f19 100644 --- a/Tests/PlayerTests/Playlist/NavigationForwardTests.swift +++ b/Tests/PlayerTests/Playlist/NavigationForwardTests.swift @@ -4,10 +4,10 @@ // License information is available from the LICENSE file. // -@testable import Player +@testable import PillarboxPlayer import Nimble -import Streams +import PillarboxStreams final class NavigationForwardTests: TestCase { func testAdvanceForOnDemandWithNextItem() { diff --git a/Tests/PlayerTests/Playlist/NavigationSmartBackwardChecksTests.swift b/Tests/PlayerTests/Playlist/NavigationSmartBackwardChecksTests.swift index 585410efe..5eb6d1fe8 100644 --- a/Tests/PlayerTests/Playlist/NavigationSmartBackwardChecksTests.swift +++ b/Tests/PlayerTests/Playlist/NavigationSmartBackwardChecksTests.swift @@ -4,11 +4,11 @@ // License information is available from the LICENSE file. // -@testable import Player +@testable import PillarboxPlayer import CoreMedia import Nimble -import Streams +import PillarboxStreams final class NavigationSmartBackwardChecksTests: TestCase { func testCanReturnForOnDemandAtBeginningWithoutPreviousItem() { diff --git a/Tests/PlayerTests/Playlist/NavigationSmartBackwardTests.swift b/Tests/PlayerTests/Playlist/NavigationSmartBackwardTests.swift index e0bc4d1ff..640997128 100644 --- a/Tests/PlayerTests/Playlist/NavigationSmartBackwardTests.swift +++ b/Tests/PlayerTests/Playlist/NavigationSmartBackwardTests.swift @@ -4,11 +4,11 @@ // License information is available from the LICENSE file. // -@testable import Player +@testable import PillarboxPlayer import CoreMedia import Nimble -import Streams +import PillarboxStreams final class NavigationSmartBackwardTests: TestCase { func testReturnForOnDemandAtBeginningWithoutPreviousItem() { diff --git a/Tests/PlayerTests/Playlist/NavigationSmartForwardChecksTests.swift b/Tests/PlayerTests/Playlist/NavigationSmartForwardChecksTests.swift index 47defb780..e6c1e4963 100644 --- a/Tests/PlayerTests/Playlist/NavigationSmartForwardChecksTests.swift +++ b/Tests/PlayerTests/Playlist/NavigationSmartForwardChecksTests.swift @@ -4,10 +4,10 @@ // License information is available from the LICENSE file. // -@testable import Player +@testable import PillarboxPlayer import Nimble -import Streams +import PillarboxStreams final class NavigationSmartForwardChecksTests: TestCase { func testCanAdvanceForOnDemandWithNextItem() { diff --git a/Tests/PlayerTests/Playlist/NavigationSmartForwardTests.swift b/Tests/PlayerTests/Playlist/NavigationSmartForwardTests.swift index f775482d7..a689e4c7b 100644 --- a/Tests/PlayerTests/Playlist/NavigationSmartForwardTests.swift +++ b/Tests/PlayerTests/Playlist/NavigationSmartForwardTests.swift @@ -4,10 +4,10 @@ // License information is available from the LICENSE file. // -@testable import Player +@testable import PillarboxPlayer import Nimble -import Streams +import PillarboxStreams final class NavigationSmartForwardTests: TestCase { func testAdvanceForOnDemandWithNextItem() { diff --git a/Tests/PlayerTests/ProgressTracker/ProgressTrackerPlaybackStateTests.swift b/Tests/PlayerTests/ProgressTracker/ProgressTrackerPlaybackStateTests.swift index 280ccfb73..b8ee8729f 100644 --- a/Tests/PlayerTests/ProgressTracker/ProgressTrackerPlaybackStateTests.swift +++ b/Tests/PlayerTests/ProgressTracker/ProgressTrackerPlaybackStateTests.swift @@ -4,11 +4,11 @@ // License information is available from the LICENSE file. // -@testable import Player +@testable import PillarboxPlayer import CoreMedia import Nimble -import Streams +import PillarboxStreams final class ProgressTrackerPlaybackStateTests: TestCase { func testInteractionPausesPlayback() { diff --git a/Tests/PlayerTests/ProgressTracker/ProgressTrackerProgressAvailabilityTests.swift b/Tests/PlayerTests/ProgressTracker/ProgressTrackerProgressAvailabilityTests.swift index 79b12b410..5dc223fe6 100644 --- a/Tests/PlayerTests/ProgressTracker/ProgressTrackerProgressAvailabilityTests.swift +++ b/Tests/PlayerTests/ProgressTracker/ProgressTrackerProgressAvailabilityTests.swift @@ -4,13 +4,13 @@ // License information is available from the LICENSE file. // -@testable import Player +@testable import PillarboxPlayer -import Circumspect import Combine import CoreMedia import Nimble -import Streams +import PillarboxCircumspect +import PillarboxStreams final class ProgressTrackerProgressAvailabilityTests: TestCase { func testUnbound() { diff --git a/Tests/PlayerTests/ProgressTracker/ProgressTrackerProgressTests.swift b/Tests/PlayerTests/ProgressTracker/ProgressTrackerProgressTests.swift index b35826b11..a56c0cf58 100644 --- a/Tests/PlayerTests/ProgressTracker/ProgressTrackerProgressTests.swift +++ b/Tests/PlayerTests/ProgressTracker/ProgressTrackerProgressTests.swift @@ -4,13 +4,13 @@ // License information is available from the LICENSE file. // -@testable import Player +@testable import PillarboxPlayer -import Circumspect import Combine import CoreMedia import Nimble -import Streams +import PillarboxCircumspect +import PillarboxStreams final class ProgressTrackerProgressTests: TestCase { func testUnbound() { diff --git a/Tests/PlayerTests/ProgressTracker/ProgressTrackerRangeTests.swift b/Tests/PlayerTests/ProgressTracker/ProgressTrackerRangeTests.swift index 40586449b..1c80b1eb5 100644 --- a/Tests/PlayerTests/ProgressTracker/ProgressTrackerRangeTests.swift +++ b/Tests/PlayerTests/ProgressTracker/ProgressTrackerRangeTests.swift @@ -4,13 +4,13 @@ // License information is available from the LICENSE file. // -@testable import Player +@testable import PillarboxPlayer -import Circumspect import Combine import CoreMedia import Nimble -import Streams +import PillarboxCircumspect +import PillarboxStreams final class ProgressTrackerRangeTests: TestCase { func testUnbound() { diff --git a/Tests/PlayerTests/ProgressTracker/ProgressTrackerSeekBehaviorTests.swift b/Tests/PlayerTests/ProgressTracker/ProgressTrackerSeekBehaviorTests.swift index 6d0b18c0d..f7088c0da 100644 --- a/Tests/PlayerTests/ProgressTracker/ProgressTrackerSeekBehaviorTests.swift +++ b/Tests/PlayerTests/ProgressTracker/ProgressTrackerSeekBehaviorTests.swift @@ -4,13 +4,13 @@ // License information is available from the LICENSE file. // -@testable import Player +@testable import PillarboxPlayer -import Circumspect import Combine import CoreMedia import Nimble -import Streams +import PillarboxCircumspect +import PillarboxStreams final class ProgressTrackerSeekBehaviorTests: TestCase { private func isSeekingPublisher(for player: Player) -> AnyPublisher { diff --git a/Tests/PlayerTests/ProgressTracker/ProgressTrackerTimeTests.swift b/Tests/PlayerTests/ProgressTracker/ProgressTrackerTimeTests.swift index 1a21b493b..ca8780863 100644 --- a/Tests/PlayerTests/ProgressTracker/ProgressTrackerTimeTests.swift +++ b/Tests/PlayerTests/ProgressTracker/ProgressTrackerTimeTests.swift @@ -4,13 +4,13 @@ // License information is available from the LICENSE file. // -@testable import Player +@testable import PillarboxPlayer -import Circumspect import Combine import CoreMedia import Nimble -import Streams +import PillarboxCircumspect +import PillarboxStreams final class ProgressTrackerTimeTests: TestCase { func testUnbound() { diff --git a/Tests/PlayerTests/ProgressTracker/ProgressTrackerValueTests.swift b/Tests/PlayerTests/ProgressTracker/ProgressTrackerValueTests.swift index c5cecc4a5..830d10a8f 100644 --- a/Tests/PlayerTests/ProgressTracker/ProgressTrackerValueTests.swift +++ b/Tests/PlayerTests/ProgressTracker/ProgressTrackerValueTests.swift @@ -4,11 +4,11 @@ // License information is available from the LICENSE file. // -@testable import Player +@testable import PillarboxPlayer import CoreMedia import Nimble -import Streams +import PillarboxStreams final class ProgressTrackerValueTests: TestCase { func testProgressValueInRange() { diff --git a/Tests/PlayerTests/Publishers/AVAssetMediaSelectionGroupsPublisherTests.swift b/Tests/PlayerTests/Publishers/AVAssetMediaSelectionGroupsPublisherTests.swift index 8d12f7a72..9dd24d607 100644 --- a/Tests/PlayerTests/Publishers/AVAssetMediaSelectionGroupsPublisherTests.swift +++ b/Tests/PlayerTests/Publishers/AVAssetMediaSelectionGroupsPublisherTests.swift @@ -4,11 +4,11 @@ // License information is available from the LICENSE file. // -@testable import Player +@testable import PillarboxPlayer import AVFoundation import Nimble -import Streams +import PillarboxStreams // swiftlint:disable:next type_name final class AVAssetMediaSelectionGroupsPublisherTests: TestCase { diff --git a/Tests/PlayerTests/Publishers/AVAssetPublisherTests.swift b/Tests/PlayerTests/Publishers/AVAssetPublisherTests.swift index c10301253..2edea5295 100644 --- a/Tests/PlayerTests/Publishers/AVAssetPublisherTests.swift +++ b/Tests/PlayerTests/Publishers/AVAssetPublisherTests.swift @@ -4,12 +4,12 @@ // License information is available from the LICENSE file. // -@testable import Player +@testable import PillarboxPlayer import AVFoundation -import Circumspect import Nimble -import Streams +import PillarboxCircumspect +import PillarboxStreams final class AVAssetPublisherTests: TestCase { func testFetch() throws { diff --git a/Tests/PlayerTests/Publishers/AVPlayerBoundaryTimePublisherTests.swift b/Tests/PlayerTests/Publishers/AVPlayerBoundaryTimePublisherTests.swift index 30706144d..3a4c2e7fc 100644 --- a/Tests/PlayerTests/Publishers/AVPlayerBoundaryTimePublisherTests.swift +++ b/Tests/PlayerTests/Publishers/AVPlayerBoundaryTimePublisherTests.swift @@ -4,13 +4,13 @@ // License information is available from the LICENSE file. // -@testable import Player +@testable import PillarboxPlayer import AVFoundation -import Circumspect import Combine import Nimble -import Streams +import PillarboxCircumspect +import PillarboxStreams final class AVPlayerBoundaryTimePublisherTests: TestCase { func testEmpty() { diff --git a/Tests/PlayerTests/Publishers/AVPlayerPeriodicTimePublisherTests.swift b/Tests/PlayerTests/Publishers/AVPlayerPeriodicTimePublisherTests.swift index 2298d2c32..17f281def 100644 --- a/Tests/PlayerTests/Publishers/AVPlayerPeriodicTimePublisherTests.swift +++ b/Tests/PlayerTests/Publishers/AVPlayerPeriodicTimePublisherTests.swift @@ -4,13 +4,13 @@ // License information is available from the LICENSE file. // -@testable import Player +@testable import PillarboxPlayer import AVFoundation -import Circumspect import Combine import Nimble -import Streams +import PillarboxCircumspect +import PillarboxStreams final class AVPlayerPeriodicTimePublisherTests: TestCase { func testEmpty() { diff --git a/Tests/PlayerTests/Publishers/AVPlayerPublisherTests.swift b/Tests/PlayerTests/Publishers/AVPlayerPublisherTests.swift index d699d6157..482879223 100644 --- a/Tests/PlayerTests/Publishers/AVPlayerPublisherTests.swift +++ b/Tests/PlayerTests/Publishers/AVPlayerPublisherTests.swift @@ -4,11 +4,11 @@ // License information is available from the LICENSE file. // -@testable import Player +@testable import PillarboxPlayer import AVFoundation import Combine -import Streams +import PillarboxStreams final class AVPlayerPublisherTests: TestCase { private static func errorPublisher(for player: AVPlayer) -> AnyPublisher { diff --git a/Tests/PlayerTests/Publishers/NowPlayingInfoMetadataPublisherTests.swift b/Tests/PlayerTests/Publishers/NowPlayingInfoMetadataPublisherTests.swift index d05cd6ef0..dbd075303 100644 --- a/Tests/PlayerTests/Publishers/NowPlayingInfoMetadataPublisherTests.swift +++ b/Tests/PlayerTests/Publishers/NowPlayingInfoMetadataPublisherTests.swift @@ -4,11 +4,11 @@ // License information is available from the LICENSE file. // -@testable import Player +@testable import PillarboxPlayer -import Circumspect import MediaPlayer -import Streams +import PillarboxCircumspect +import PillarboxStreams final class NowPlayingInfoMetadataPublisherTests: TestCase { func testEmpty() { diff --git a/Tests/PlayerTests/Publishers/QueuePlayerPublisherTests.swift b/Tests/PlayerTests/Publishers/QueuePlayerPublisherTests.swift index d54482813..ea9e7f89c 100644 --- a/Tests/PlayerTests/Publishers/QueuePlayerPublisherTests.swift +++ b/Tests/PlayerTests/Publishers/QueuePlayerPublisherTests.swift @@ -4,12 +4,12 @@ // License information is available from the LICENSE file. // -@testable import Player +@testable import PillarboxPlayer import AVFoundation -import Circumspect import Combine -import Streams +import PillarboxCircumspect +import PillarboxStreams final class QueuePlayerPublisherTests: TestCase { private static func bufferingPublisher(for player: QueuePlayer) -> AnyPublisher { diff --git a/Tests/PlayerTests/QueuePlayer/QueuePlayerItemsTests.swift b/Tests/PlayerTests/QueuePlayer/QueuePlayerItemsTests.swift index ba396be08..cc0784148 100644 --- a/Tests/PlayerTests/QueuePlayer/QueuePlayerItemsTests.swift +++ b/Tests/PlayerTests/QueuePlayer/QueuePlayerItemsTests.swift @@ -4,12 +4,12 @@ // License information is available from the LICENSE file. // -@testable import Player +@testable import PillarboxPlayer import AVFoundation -import Circumspect import Nimble -import Streams +import PillarboxCircumspect +import PillarboxStreams final class QueuePlayerItemsTests: TestCase { func testReplaceItemsWithEmptyList() { diff --git a/Tests/PlayerTests/QueuePlayer/QueuePlayerSeekTests.swift b/Tests/PlayerTests/QueuePlayer/QueuePlayerSeekTests.swift index 24261f37c..6e7996343 100644 --- a/Tests/PlayerTests/QueuePlayer/QueuePlayerSeekTests.swift +++ b/Tests/PlayerTests/QueuePlayer/QueuePlayerSeekTests.swift @@ -4,13 +4,13 @@ // License information is available from the LICENSE file. // -@testable import Player +@testable import PillarboxPlayer import AVFoundation -import Circumspect import Nimble import OrderedCollections -import Streams +import PillarboxCircumspect +import PillarboxStreams private class QueuePlayerMock: QueuePlayer { var seeks: Int = 0 diff --git a/Tests/PlayerTests/QueuePlayer/QueuePlayerSeekTimePublisherTests.swift b/Tests/PlayerTests/QueuePlayer/QueuePlayerSeekTimePublisherTests.swift index 07db26ca2..427cb1c5d 100644 --- a/Tests/PlayerTests/QueuePlayer/QueuePlayerSeekTimePublisherTests.swift +++ b/Tests/PlayerTests/QueuePlayer/QueuePlayerSeekTimePublisherTests.swift @@ -4,12 +4,12 @@ // License information is available from the LICENSE file. // -@testable import Player +@testable import PillarboxPlayer import AVFoundation -import Circumspect import Nimble -import Streams +import PillarboxCircumspect +import PillarboxStreams final class QueuePlayerSeekTimePublisherTests: TestCase { func testEmpty() { diff --git a/Tests/PlayerTests/QueuePlayer/QueuePlayerSmoothSeekTests.swift b/Tests/PlayerTests/QueuePlayer/QueuePlayerSmoothSeekTests.swift index be14cdbe8..c775b03e7 100644 --- a/Tests/PlayerTests/QueuePlayer/QueuePlayerSmoothSeekTests.swift +++ b/Tests/PlayerTests/QueuePlayer/QueuePlayerSmoothSeekTests.swift @@ -4,13 +4,13 @@ // License information is available from the LICENSE file. // -@testable import Player +@testable import PillarboxPlayer import AVFoundation -import Circumspect import Nimble import OrderedCollections -import Streams +import PillarboxCircumspect +import PillarboxStreams final class QueuePlayerSmoothSeekTests: TestCase { func testNotificationsForSeekWithEmptyPlayer() { diff --git a/Tests/PlayerTests/Skips/SkipBackwardChecksTests.swift b/Tests/PlayerTests/Skips/SkipBackwardChecksTests.swift index 974783272..dede82317 100644 --- a/Tests/PlayerTests/Skips/SkipBackwardChecksTests.swift +++ b/Tests/PlayerTests/Skips/SkipBackwardChecksTests.swift @@ -4,10 +4,10 @@ // License information is available from the LICENSE file. // -@testable import Player +@testable import PillarboxPlayer import Nimble -import Streams +import PillarboxStreams final class SkipBackwardChecksTests: TestCase { func testCannotSkipWhenEmpty() { diff --git a/Tests/PlayerTests/Skips/SkipBackwardTests.swift b/Tests/PlayerTests/Skips/SkipBackwardTests.swift index fbf5dab35..a24544297 100644 --- a/Tests/PlayerTests/Skips/SkipBackwardTests.swift +++ b/Tests/PlayerTests/Skips/SkipBackwardTests.swift @@ -4,12 +4,12 @@ // License information is available from the LICENSE file. // -@testable import Player +@testable import PillarboxPlayer -import Circumspect import CoreMedia import Nimble -import Streams +import PillarboxCircumspect +import PillarboxStreams final class SkipBackwardTests: TestCase { func testSkipWhenEmpty() { diff --git a/Tests/PlayerTests/Skips/SkipForwardChecksTests.swift b/Tests/PlayerTests/Skips/SkipForwardChecksTests.swift index 84b5dfb7a..45a8bc82d 100644 --- a/Tests/PlayerTests/Skips/SkipForwardChecksTests.swift +++ b/Tests/PlayerTests/Skips/SkipForwardChecksTests.swift @@ -4,10 +4,10 @@ // License information is available from the LICENSE file. // -@testable import Player +@testable import PillarboxPlayer import Nimble -import Streams +import PillarboxStreams final class SkipForwardChecksTests: TestCase { func testCannotSkipWhenEmpty() { diff --git a/Tests/PlayerTests/Skips/SkipForwardTests.swift b/Tests/PlayerTests/Skips/SkipForwardTests.swift index 5de83cff2..18ba5ff59 100644 --- a/Tests/PlayerTests/Skips/SkipForwardTests.swift +++ b/Tests/PlayerTests/Skips/SkipForwardTests.swift @@ -4,13 +4,13 @@ // License information is available from the LICENSE file. // -@testable import Player +@testable import PillarboxPlayer -import Circumspect import Combine import CoreMedia import Nimble -import Streams +import PillarboxCircumspect +import PillarboxStreams final class SkipForwardTests: TestCase { private func isSeekingPublisher(for player: Player) -> AnyPublisher { diff --git a/Tests/PlayerTests/Skips/SkipToDefaultChecksTests.swift b/Tests/PlayerTests/Skips/SkipToDefaultChecksTests.swift index 68565ef3b..f2314685d 100644 --- a/Tests/PlayerTests/Skips/SkipToDefaultChecksTests.swift +++ b/Tests/PlayerTests/Skips/SkipToDefaultChecksTests.swift @@ -4,11 +4,11 @@ // License information is available from the LICENSE file. // -@testable import Player +@testable import PillarboxPlayer import CoreMedia import Nimble -import Streams +import PillarboxStreams final class SkipToDefaultChecksTests: TestCase { func testCannotSkipWhenEmpty() { diff --git a/Tests/PlayerTests/Skips/SkipToDefaultTests.swift b/Tests/PlayerTests/Skips/SkipToDefaultTests.swift index e5867387a..a6445c133 100644 --- a/Tests/PlayerTests/Skips/SkipToDefaultTests.swift +++ b/Tests/PlayerTests/Skips/SkipToDefaultTests.swift @@ -4,11 +4,11 @@ // License information is available from the LICENSE file. // -@testable import Player +@testable import PillarboxPlayer import CoreMedia import Nimble -import Streams +import PillarboxStreams final class SkipToDefaultTests: TestCase { func testSkipWhenEmpty() { diff --git a/Tests/PlayerTests/Tools/LanguageIdentifiable.swift b/Tests/PlayerTests/Tools/LanguageIdentifiable.swift index 7a9737e8f..3e3210a6c 100644 --- a/Tests/PlayerTests/Tools/LanguageIdentifiable.swift +++ b/Tests/PlayerTests/Tools/LanguageIdentifiable.swift @@ -5,7 +5,7 @@ // import AVFoundation -import Player +import PillarboxPlayer protocol LanguageIdentifiable { var languageIdentifier: String? { get } diff --git a/Tests/PlayerTests/Tools/NoMetadataTrackerMock.swift b/Tests/PlayerTests/Tools/NoMetadataTrackerMock.swift index 7c87b309a..92e0e132d 100644 --- a/Tests/PlayerTests/Tools/NoMetadataTrackerMock.swift +++ b/Tests/PlayerTests/Tools/NoMetadataTrackerMock.swift @@ -4,7 +4,7 @@ // License information is available from the LICENSE file. // -@testable import Player +@testable import PillarboxPlayer import Combine diff --git a/Tests/PlayerTests/Tools/PlayerItem.swift b/Tests/PlayerTests/Tools/PlayerItem.swift index 9456042e7..27dac7e64 100644 --- a/Tests/PlayerTests/Tools/PlayerItem.swift +++ b/Tests/PlayerTests/Tools/PlayerItem.swift @@ -4,7 +4,7 @@ // License information is available from the LICENSE file. // -@testable import Player +@testable import PillarboxPlayer import Combine import Foundation diff --git a/Tests/PlayerTests/Tools/Similarity.swift b/Tests/PlayerTests/Tools/Similarity.swift index 7168116df..bdc2b9f03 100644 --- a/Tests/PlayerTests/Tools/Similarity.swift +++ b/Tests/PlayerTests/Tools/Similarity.swift @@ -4,11 +4,11 @@ // License information is available from the LICENSE file. // -@testable import Player +@testable import PillarboxPlayer import AVFoundation -import Circumspect import CoreMedia +import PillarboxCircumspect extension Asset: Similar { public static func ~~ (lhs: Self, rhs: Self) -> Bool { diff --git a/Tests/PlayerTests/Tools/Tools.swift b/Tests/PlayerTests/Tools/Tools.swift index 8efc0c1a8..1e4db4358 100644 --- a/Tests/PlayerTests/Tools/Tools.swift +++ b/Tests/PlayerTests/Tools/Tools.swift @@ -4,7 +4,7 @@ // License information is available from the LICENSE file. // -@testable import Player +@testable import PillarboxPlayer import Foundation diff --git a/Tests/PlayerTests/Tools/TrackerMock.swift b/Tests/PlayerTests/Tools/TrackerMock.swift index 41977a659..161c9d01d 100644 --- a/Tests/PlayerTests/Tools/TrackerMock.swift +++ b/Tests/PlayerTests/Tools/TrackerMock.swift @@ -4,7 +4,7 @@ // License information is available from the LICENSE file. // -@testable import Player +@testable import PillarboxPlayer import Combine diff --git a/Tests/PlayerTests/Tracking/PlayerItemTrackerTests.swift b/Tests/PlayerTests/Tracking/PlayerItemTrackerTests.swift index 8ca7f5f8b..cfa254745 100644 --- a/Tests/PlayerTests/Tracking/PlayerItemTrackerTests.swift +++ b/Tests/PlayerTests/Tracking/PlayerItemTrackerTests.swift @@ -4,10 +4,10 @@ // License information is available from the LICENSE file. // -@testable import Player +@testable import PillarboxPlayer -import Circumspect -import Streams +import PillarboxCircumspect +import PillarboxStreams final class PlayerItemTrackerTests: TestCase { func testPlayerItemLifeCycle() { diff --git a/Tests/PlayerTests/Tracking/PlayerTrackingTests.swift b/Tests/PlayerTests/Tracking/PlayerTrackingTests.swift index 805fb6a08..3d1a72733 100644 --- a/Tests/PlayerTests/Tracking/PlayerTrackingTests.swift +++ b/Tests/PlayerTests/Tracking/PlayerTrackingTests.swift @@ -4,10 +4,10 @@ // License information is available from the LICENSE file. // -@testable import Player +@testable import PillarboxPlayer -import Circumspect -import Streams +import PillarboxCircumspect +import PillarboxStreams final class PlayerTrackingTests: TestCase { func testTrackingDisabled() { diff --git a/Tests/PlayerTests/Types/ErrorsTests.swift b/Tests/PlayerTests/Types/ErrorsTests.swift index c61ab50be..ef8bf68e4 100644 --- a/Tests/PlayerTests/Types/ErrorsTests.swift +++ b/Tests/PlayerTests/Types/ErrorsTests.swift @@ -4,7 +4,7 @@ // License information is available from the LICENSE file. // -@testable import Player +@testable import PillarboxPlayer import Nimble import XCTest diff --git a/Tests/PlayerTests/Types/ItemErrorTests.swift b/Tests/PlayerTests/Types/ItemErrorTests.swift index 06d635c6b..cd8c73829 100644 --- a/Tests/PlayerTests/Types/ItemErrorTests.swift +++ b/Tests/PlayerTests/Types/ItemErrorTests.swift @@ -4,7 +4,7 @@ // License information is available from the LICENSE file. // -@testable import Player +@testable import PillarboxPlayer import Foundation import Nimble diff --git a/Tests/PlayerTests/Types/PlaybackSpeedTests.swift b/Tests/PlayerTests/Types/PlaybackSpeedTests.swift index a24c0a416..38d94c40c 100644 --- a/Tests/PlayerTests/Types/PlaybackSpeedTests.swift +++ b/Tests/PlayerTests/Types/PlaybackSpeedTests.swift @@ -4,7 +4,7 @@ // License information is available from the LICENSE file. // -@testable import Player +@testable import PillarboxPlayer import Nimble diff --git a/Tests/PlayerTests/Types/PlaybackStateTests.swift b/Tests/PlayerTests/Types/PlaybackStateTests.swift index a56a9fc9f..ddc913f17 100644 --- a/Tests/PlayerTests/Types/PlaybackStateTests.swift +++ b/Tests/PlayerTests/Types/PlaybackStateTests.swift @@ -4,7 +4,7 @@ // License information is available from the LICENSE file. // -@testable import Player +@testable import PillarboxPlayer import Nimble diff --git a/Tests/PlayerTests/Types/PlayerConfigurationTests.swift b/Tests/PlayerTests/Types/PlayerConfigurationTests.swift index a05cb712c..1ec3afd07 100644 --- a/Tests/PlayerTests/Types/PlayerConfigurationTests.swift +++ b/Tests/PlayerTests/Types/PlayerConfigurationTests.swift @@ -4,7 +4,7 @@ // License information is available from the LICENSE file. // -@testable import Player +@testable import PillarboxPlayer import Nimble diff --git a/Tests/PlayerTests/Types/PositionTests.swift b/Tests/PlayerTests/Types/PositionTests.swift index d57c8ea06..f4216f2d3 100644 --- a/Tests/PlayerTests/Types/PositionTests.swift +++ b/Tests/PlayerTests/Types/PositionTests.swift @@ -4,7 +4,7 @@ // License information is available from the LICENSE file. // -@testable import Player +@testable import PillarboxPlayer import CoreMedia import Nimble diff --git a/Tests/PlayerTests/Types/StreamTypeTests.swift b/Tests/PlayerTests/Types/StreamTypeTests.swift index 40c1b1c5e..190d4c36b 100644 --- a/Tests/PlayerTests/Types/StreamTypeTests.swift +++ b/Tests/PlayerTests/Types/StreamTypeTests.swift @@ -4,7 +4,7 @@ // License information is available from the LICENSE file. // -@testable import Player +@testable import PillarboxPlayer import CoreMedia import Nimble diff --git a/Tests/PlayerTests/Types/TimePropertiesTests.swift b/Tests/PlayerTests/Types/TimePropertiesTests.swift index 613709f29..8596de1b7 100644 --- a/Tests/PlayerTests/Types/TimePropertiesTests.swift +++ b/Tests/PlayerTests/Types/TimePropertiesTests.swift @@ -4,7 +4,7 @@ // License information is available from the LICENSE file. // -@testable import Player +@testable import PillarboxPlayer import CoreMedia import Nimble diff --git a/Tests/PlayerTests/Types/TimeTests.swift b/Tests/PlayerTests/Types/TimeTests.swift index 9d15f3535..36f47c7a6 100644 --- a/Tests/PlayerTests/Types/TimeTests.swift +++ b/Tests/PlayerTests/Types/TimeTests.swift @@ -4,7 +4,7 @@ // License information is available from the LICENSE file. // -@testable import Player +@testable import PillarboxPlayer import CoreMedia import Nimble diff --git a/Tests/PlayerTests/UserInterface/VisibilityTrackerTests.swift b/Tests/PlayerTests/UserInterface/VisibilityTrackerTests.swift index 936169cf6..7e580cfa9 100644 --- a/Tests/PlayerTests/UserInterface/VisibilityTrackerTests.swift +++ b/Tests/PlayerTests/UserInterface/VisibilityTrackerTests.swift @@ -4,12 +4,12 @@ // License information is available from the LICENSE file. // -@testable import Player +@testable import PillarboxPlayer -import Circumspect import Nimble import ObjectiveC -import Streams +import PillarboxCircumspect +import PillarboxStreams #if os(iOS) final class VisibilityTrackerTests: TestCase {