Skip to content

Commit

Permalink
Avoid naming conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
Dev1an committed Oct 19, 2022
1 parent 5a3c9e0 commit 9489bfb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import THEOplayerSDK
internalConnector = conviva
}

@objc public convenience init?(configuration: THEOplayerConvivaConfiguration, player: THEOplayer) {
@objc public convenience init?(configuration: THEOplayerConnectorConvivaConfiguration, player: THEOplayer) {
guard let endpoints = ConvivaEndpoints(configuration: configuration) else { return nil }
let base = ConvivaConnector(conviva: endpoints, player: player)
self.init(conviva: ConvivaConnectorVerizonMedia(base: base))
Expand Down
4 changes: 2 additions & 2 deletions Code/Conviva/Source/objc/ConvivaConfiguration+objc.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import ConvivaSDK

/// Settings that specify how to communicate with the Conviva backend
@objc public class THEOplayerConvivaConfiguration: NSObject {
@objc public class THEOplayerConnectorConvivaConfiguration: NSObject {
let internalConfig: ConvivaConfiguration

/// Creates an objc class that contains settings to connect to conviva
Expand All @@ -22,7 +22,7 @@ import ConvivaSDK
}

extension ConvivaEndpoints {
public convenience init?(configuration: THEOplayerConvivaConfiguration) {
public convenience init?(configuration: THEOplayerConnectorConvivaConfiguration) {
self.init(configuration: configuration.internalConfig)
}
}
2 changes: 1 addition & 1 deletion Code/Conviva/Source/objc/ConvivaConnector+objc.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import ConvivaSDK
@objc public class THEOplayerConvivaConnector: NSObject {
let internalConnector: ConvivaConnector

@objc public convenience init?(configuration: THEOplayerConvivaConfiguration, player: THEOplayer) {
@objc public convenience init?(configuration: THEOplayerConnectorConvivaConfiguration, player: THEOplayer) {
guard let endpoints = ConvivaEndpoints(configuration: configuration) else { return nil }
self.init(conviva: endpoints, player: player)
}
Expand Down

0 comments on commit 9489bfb

Please sign in to comment.