From 10982a57ef67a1bf5c8c3fe196afdc8b0cf9858d Mon Sep 17 00:00:00 2001 From: Roopesh Chander Date: Sat, 22 Dec 2018 17:08:55 +0530 Subject: import Foundation instead of UIKit wherever possible Signed-off-by: Roopesh Chander --- WireGuard/WireGuard/Crypto/Curve25519.swift | 2 +- WireGuard/WireGuard/UI/TunnelViewModel.swift | 2 +- WireGuard/WireGuard/ZipArchive/ZipExporter.swift | 2 +- WireGuard/WireGuard/ZipArchive/ZipImporter.swift | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'WireGuard/WireGuard') diff --git a/WireGuard/WireGuard/Crypto/Curve25519.swift b/WireGuard/WireGuard/Crypto/Curve25519.swift index bd49e12..d498a64 100644 --- a/WireGuard/WireGuard/Crypto/Curve25519.swift +++ b/WireGuard/WireGuard/Crypto/Curve25519.swift @@ -1,7 +1,7 @@ // SPDX-License-Identifier: MIT // Copyright © 2018-2019 WireGuard LLC. All Rights Reserved. -import UIKit +import Foundation struct Curve25519 { diff --git a/WireGuard/WireGuard/UI/TunnelViewModel.swift b/WireGuard/WireGuard/UI/TunnelViewModel.swift index a16739d..096be76 100644 --- a/WireGuard/WireGuard/UI/TunnelViewModel.swift +++ b/WireGuard/WireGuard/UI/TunnelViewModel.swift @@ -1,7 +1,7 @@ // SPDX-License-Identifier: MIT // Copyright © 2018-2019 WireGuard LLC. All Rights Reserved. -import UIKit +import Foundation //swiftlint:disable:next type_body_length class TunnelViewModel { diff --git a/WireGuard/WireGuard/ZipArchive/ZipExporter.swift b/WireGuard/WireGuard/ZipArchive/ZipExporter.swift index e5b993a..3a87928 100644 --- a/WireGuard/WireGuard/ZipArchive/ZipExporter.swift +++ b/WireGuard/WireGuard/ZipArchive/ZipExporter.swift @@ -1,7 +1,7 @@ // SPDX-License-Identifier: MIT // Copyright © 2018-2019 WireGuard LLC. All Rights Reserved. -import UIKit +import Foundation enum ZipExporterError: WireGuardAppError { case noTunnelsToExport diff --git a/WireGuard/WireGuard/ZipArchive/ZipImporter.swift b/WireGuard/WireGuard/ZipArchive/ZipImporter.swift index ac897c7..b86b06e 100644 --- a/WireGuard/WireGuard/ZipArchive/ZipImporter.swift +++ b/WireGuard/WireGuard/ZipArchive/ZipImporter.swift @@ -1,7 +1,7 @@ // SPDX-License-Identifier: MIT // Copyright © 2018-2019 WireGuard LLC. All Rights Reserved. -import UIKit +import Foundation enum ZipImporterError: WireGuardAppError { case noTunnelsInZipArchive -- cgit v1.2.3-59-g8ed1b