Skip to content

Commit

Permalink
Remove unnecessary imports (#36)
Browse files Browse the repository at this point in the history
  • Loading branch information
vsanthanam authored Jun 30, 2022
1 parent af44aaa commit b4900cf
Show file tree
Hide file tree
Showing 16 changed files with 0 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@

#if canImport(Combine)
import Combine
import Foundation

@available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
public extension Publishers {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@

#if canImport(Combine)
import Combine
import Foundation
import Network

@available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.

import Foundation
import Network

@available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.

import Foundation
import Network

/// A protocol used to observe network path changes from a ``NetworkMonitor``
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.

import Foundation
import SystemConfiguration

/// A value type representing network reachability
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
#if canImport(Combine)
import Combine
import Darwin
import Foundation
import SystemConfiguration

@available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
// SOFTWARE.

import Darwin
import Foundation
import SystemConfiguration

@available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.

import Foundation

/// A protocol used to observe network reachability changes from a ``ReachabilityMonitor``
@available(macOS 10.13, iOS 11.0, watchOS 4.0, tvOS 11.0, *)
public protocol ReachabilityMonitorDelegate: AnyObject {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.

import Foundation
import SystemConfiguration

extension SCNetworkReachability {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.

import Foundation
import SystemConfiguration

extension SCNetworkReachabilityFlags {
Expand Down
2 changes: 0 additions & 2 deletions Sources/NetworkReachability/Internal/WeakReference.swift
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.

import Foundation

final class WeakReference<T: AnyObject> {

init(_ obj: T) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
#if canImport(Combine)

import Combine
import Foundation
@testable import NetworkReachability
import XCTest

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
import Network
#endif

import Foundation
@testable import NetworkReachability
import XCTest

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
#if canImport(Combine)

import Combine
import Foundation
@testable import NetworkReachability
import XCTest

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.

import Foundation
@testable import NetworkReachability
import XCTest

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.

import Foundation
@testable import NetworkReachability
import XCTest

Expand Down

0 comments on commit b4900cf

Please sign in to comment.