]> git.ipfire.org Git - thirdparty/wireguard-apple.git/commitdiff
import Foundation instead of UIKit wherever possible
authorRoopesh Chander <roop@roopc.net>
Sat, 22 Dec 2018 11:38:55 +0000 (17:08 +0530)
committerRoopesh Chander <roop@roopc.net>
Mon, 14 Jan 2019 09:22:26 +0000 (14:52 +0530)
Signed-off-by: Roopesh Chander <roop@roopc.net>
WireGuard/WireGuard/Crypto/Curve25519.swift
WireGuard/WireGuard/UI/TunnelViewModel.swift
WireGuard/WireGuard/ZipArchive/ZipExporter.swift
WireGuard/WireGuard/ZipArchive/ZipImporter.swift

index bd49e12958337fd8a91870ac3aaeb18f04adef5d..d498a649597d72bec662f2099d3dd4f50e3c7dbc 100644 (file)
@@ -1,7 +1,7 @@
 // SPDX-License-Identifier: MIT
 // Copyright © 2018-2019 WireGuard LLC. All Rights Reserved.
 
-import UIKit
+import Foundation
 
 struct Curve25519 {
 
index a16739d961c51b6c7014bb420ac16bd1582a3618..096be76b30ab642b1efa6d4281143ce3e429085b 100644 (file)
@@ -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 {
index e5b993a09aa96121771d761f7db2a9759401c8cf..3a87928b7dfe507315e22af077c3f7ec6ebb8fc9 100644 (file)
@@ -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
index ac897c7309c0c2a0236ed3f7f95b69cf472fb86f..b86b06ed6e8f74157773057da3afde64181f79c8 100644 (file)
@@ -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