diff options
author | 2018-12-22 17:08:55 +0530 | |
---|---|---|
committer | 2019-01-14 14:52:26 +0530 | |
commit | 10982a57ef67a1bf5c8c3fe196afdc8b0cf9858d (patch) | |
tree | 1a870e84119ae11a93edce836c0d510d4430e9cc | |
parent | Version bump (diff) | |
download | wireguard-apple-10982a57ef67a1bf5c8c3fe196afdc8b0cf9858d.tar.xz wireguard-apple-10982a57ef67a1bf5c8c3fe196afdc8b0cf9858d.zip |
import Foundation instead of UIKit wherever possible
Signed-off-by: Roopesh Chander <roop@roopc.net>
-rw-r--r-- | WireGuard/WireGuard/Crypto/Curve25519.swift | 2 | ||||
-rw-r--r-- | WireGuard/WireGuard/UI/TunnelViewModel.swift | 2 | ||||
-rw-r--r-- | WireGuard/WireGuard/ZipArchive/ZipExporter.swift | 2 | ||||
-rw-r--r-- | WireGuard/WireGuard/ZipArchive/ZipImporter.swift | 2 |
4 files changed, 4 insertions, 4 deletions
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 |