Skip to content

Commit

Permalink
Rename packages to avoid potential conflicts (#714)
Browse files Browse the repository at this point in the history
  • Loading branch information
defagos authored Jan 4, 2024
1 parent 87a6934 commit c762766
Show file tree
Hide file tree
Showing 273 changed files with 517 additions and 508 deletions.
2 changes: 1 addition & 1 deletion .xcode-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
15.0
15.0
2 changes: 1 addition & 1 deletion Demo/Pillarbox.playground/Contents.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion Demo/Sources/Analytics/DemoTracker.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import Combine
import Foundation
import os
import Player
import PillarboxPlayer

final class DemoTracker: PlayerItemTracker {
struct Metadata {
Expand Down
2 changes: 1 addition & 1 deletion Demo/Sources/Application/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions Demo/Sources/Model/Media.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion Demo/Sources/Model/ServerSetting.swift
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// License information is available from the LICENSE file.
//

import CoreBusiness
import PillarboxCoreBusiness
import SRGDataProvider

@objc
Expand Down
2 changes: 1 addition & 1 deletion Demo/Sources/Players/BasicPlaybackView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
//

import CoreMedia
import Player
import PillarboxPlayer
import SwiftUI

#if os(iOS)
Expand Down
2 changes: 1 addition & 1 deletion Demo/Sources/Players/InlineSystemPlayerView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// License information is available from the LICENSE file.
//

import Player
import PillarboxPlayer
import SwiftUI

struct InlineSystemPlayerView: View {
Expand Down
2 changes: 1 addition & 1 deletion Demo/Sources/Players/PlaybackView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

import AVFoundation
import CoreMedia
import Player
import PillarboxPlayer
import SwiftUI

#if os(iOS)
Expand Down
2 changes: 1 addition & 1 deletion Demo/Sources/Players/PlayerConfiguration.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
//

import Foundation
import Player
import PillarboxPlayer

extension PlayerConfiguration {
static var standard: Self {
Expand Down
2 changes: 1 addition & 1 deletion Demo/Sources/Players/PlayerView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion Demo/Sources/Players/PlayerViewModel.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
//

import Combine
import Player
import PillarboxPlayer

final class PlayerViewModel: ObservableObject, PictureInPicturePersistable {
@Published var media: Media? {
Expand Down
2 changes: 1 addition & 1 deletion Demo/Sources/Players/SimplePlayerView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// License information is available from the LICENSE file.
//

import Player
import PillarboxPlayer
import SwiftUI

// Behavior: h-exp, v-exp
Expand Down
2 changes: 1 addition & 1 deletion Demo/Sources/Players/SystemPlayerView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// License information is available from the LICENSE file.
//

import Player
import PillarboxPlayer
import SwiftUI

// Behavior: h-exp, v-exp
Expand Down
2 changes: 1 addition & 1 deletion Demo/Sources/Router/Router.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
//

import Combine
import Player
import PillarboxPlayer
import SwiftUI

/// Manages navigation using an associated router.
Expand Down
2 changes: 1 addition & 1 deletion Demo/Sources/Settings/SettingsView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
//

import AVFoundation
import Player
import PillarboxPlayer
import SwiftUI

private struct UrlCacheView: View {
Expand Down
2 changes: 1 addition & 1 deletion Demo/Sources/Settings/UserDefaults.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

import AVFoundation
import Foundation
import Player
import PillarboxPlayer

@objc
enum SeekBehaviorSetting: Int {
Expand Down
2 changes: 1 addition & 1 deletion Demo/Sources/Showcase/BlurredView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// License information is available from the LICENSE file.
//

import Player
import PillarboxPlayer
import SwiftUI

// Behavior: h-exp, v-exp
Expand Down
2 changes: 1 addition & 1 deletion Demo/Sources/Showcase/LinkView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// License information is available from the LICENSE file.
//

import Player
import PillarboxPlayer
import SwiftUI

// Behavior: h-exp, v-exp
Expand Down
2 changes: 1 addition & 1 deletion Demo/Sources/Showcase/Multi/MultiView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// License information is available from the LICENSE file.
//

import Player
import PillarboxPlayer
import SwiftUI

// Behavior: h-exp, v-exp
Expand Down
2 changes: 1 addition & 1 deletion Demo/Sources/Showcase/Multi/MultiViewModel.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
//

import Combine
import Player
import PillarboxPlayer

enum PlayerPosition {
case top
Expand Down
2 changes: 1 addition & 1 deletion Demo/Sources/Showcase/Multi/SingleView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// License information is available from the LICENSE file.
//

import Player
import PillarboxPlayer
import SwiftUI

/// Behavior: h-exp, v-exp
Expand Down
2 changes: 1 addition & 1 deletion Demo/Sources/Showcase/OptInView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
//

import AVFoundation
import Player
import PillarboxPlayer
import SwiftUI

struct OptInView: View {
Expand Down
2 changes: 1 addition & 1 deletion Demo/Sources/Showcase/Playlist/PlaylistView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// License information is available from the LICENSE file.
//

import Player
import PillarboxPlayer
import SwiftUI

// Behavior: h-exp, v-exp
Expand Down
2 changes: 1 addition & 1 deletion Demo/Sources/Showcase/Playlist/PlaylistViewModel.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

import Combine
import OrderedCollections
import Player
import PillarboxPlayer

final class PlaylistViewModel: ObservableObject, PictureInPicturePersistable {
static let standardTemplates = [
Expand Down
2 changes: 1 addition & 1 deletion Demo/Sources/Showcase/SourceCodeViewable.swift
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// License information is available from the LICENSE file.
//

import Player
import PillarboxPlayer
import SwiftUI

enum GitHub {
Expand Down
2 changes: 1 addition & 1 deletion Demo/Sources/Showcase/Stories/StoriesView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
//

import AVFoundation
import Player
import PillarboxPlayer
import SwiftUI

// Behavior: h-exp, v-exp
Expand Down
2 changes: 1 addition & 1 deletion Demo/Sources/Showcase/Stories/StoriesViewModel.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

import Combine
import OrderedCollections
import Player
import PillarboxPlayer

final class StoriesViewModel: ObservableObject {
private static let preloadDistance = 1
Expand Down
2 changes: 1 addition & 1 deletion Demo/Sources/Showcase/TransitionView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
//

import AVFoundation
import Player
import PillarboxPlayer
import SwiftUI

private struct FullScreenView: View {
Expand Down
2 changes: 1 addition & 1 deletion Demo/Sources/Showcase/TwinsView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// License information is available from the LICENSE file.
//

import Player
import PillarboxPlayer
import SwiftUI

// Behavior: h-exp, v-exp
Expand Down
2 changes: 1 addition & 1 deletion Demo/Sources/Showcase/Wrapped/WrappedView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// License information is available from the LICENSE file.
//

import Player
import PillarboxPlayer
import SwiftUI

// Behavior: h-exp, v-exp
Expand Down
2 changes: 1 addition & 1 deletion Demo/Sources/Showcase/Wrapped/WrappedViewModel.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
//

import Combine
import Player
import PillarboxPlayer

final class WrappedViewModel: ObservableObject {
@Published var player = Player(configuration: .externalPlaybackDisabled)
Expand Down
2 changes: 1 addition & 1 deletion Demo/Sources/Tools/MotionManager~ios.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

import Combine
import CoreMotion
import Player
import PillarboxPlayer

final class MotionManager: ObservableObject {
@Published private(set) var attitude: CMAttitude?
Expand Down
2 changes: 1 addition & 1 deletion Demo/Sources/Views/MonoscopicVideoView~ios.swift
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// License information is available from the LICENSE file.
//

import Player
import PillarboxPlayer
import SceneKit
import SwiftUI

Expand Down
2 changes: 1 addition & 1 deletion Demo/Sources/Views/PiPButton.swift
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// License information is available from the LICENSE file.
//

import Player
import PillarboxPlayer
import SwiftUI

struct PiPButton: View {
Expand Down
2 changes: 1 addition & 1 deletion Demo/Sources/Views/PlaybackSlider~ios.swift
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// License information is available from the LICENSE file.
//

import Player
import PillarboxPlayer
import SwiftUI

struct PlaybackSlider<ValueLabel>: View where ValueLabel: View {
Expand Down
4 changes: 2 additions & 2 deletions Demo/Tutorials/OptimizingCustomLayouts1~ios.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
4 changes: 2 additions & 2 deletions Demo/Tutorials/OptimizingCustomLayouts2~ios.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion Demo/Tutorials/PinchToZoomTutorial~ios.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
//

import AVFoundation
import Player
import PillarboxPlayer
import SwiftUI

struct PinchToZoomTutorial: View {
Expand Down
2 changes: 1 addition & 1 deletion Demo/Tutorials/SupportingBasicPictureInPicture.swift
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// License information is available from the LICENSE file.
//

import Player
import PillarboxPlayer
import SwiftUI

struct SupportingBasicPictureInPicture: View {
Expand Down
2 changes: 1 addition & 1 deletion Demo/Tutorials/TrackingProgressTutorial~ios.swift
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// License information is available from the LICENSE file.
//

import Player
import PillarboxPlayer
import SwiftUI

struct TrackingProgressTutorial: View {
Expand Down
2 changes: 1 addition & 1 deletion Demo/Tutorials/TrackingVisibilityTutorial~ios.swift
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// License information is available from the LICENSE file.
//

import Player
import PillarboxPlayer
import SwiftUI

struct TrackingVisibilityTutorial: View {
Expand Down
Loading

0 comments on commit c762766

Please sign in to comment.