Skip to content

Commit

Permalink
replace foundation into cocoa
Browse files Browse the repository at this point in the history
  • Loading branch information
yanue committed May 26, 2019
1 parent b0ad368 commit 1379125
Show file tree
Hide file tree
Showing 15 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion V2rayU/MainMenu.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// Copyright © 2018 yanue. All rights reserved.
//

import Foundation
import Cocoa
import Cocoa
import ServiceManagement
import Preferences
Expand Down
2 changes: 1 addition & 1 deletion V2rayU/PacUtils.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@
//


import Foundation
import Cocoa
import Alamofire
2 changes: 1 addition & 1 deletion V2rayU/QrcodeWindow.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// Copyright (c) 2018 yanue. All rights reserved.
//

import Foundation
import Cocoa
import Cocoa
import QRCoder

Expand Down
2 changes: 1 addition & 1 deletion V2rayU/Scanner.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// Copyright (c) 2018 yanue. All rights reserved.
//

import Foundation
import Cocoa
import CoreGraphics
import CoreImage
import SwiftyJSON
Expand Down
2 changes: 1 addition & 1 deletion V2rayU/UserRulesWindow.swift
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// copy from shadowsocksX-NG
//

import Foundation
import Cocoa
import Cocoa

class UserRulesWindowController: NSWindowController {
Expand Down
2 changes: 1 addition & 1 deletion V2rayU/Util.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// Copyright © 2018 yanue. All rights reserved.
//

import Foundation
import Cocoa

extension UserDefaults {

Expand Down
2 changes: 1 addition & 1 deletion V2rayU/V2rayLaunch.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// Copyright © 2018 yanue. All rights reserved.
//

import Foundation
import Cocoa
import SystemConfiguration
import Alamofire

Expand Down
2 changes: 1 addition & 1 deletion V2rayU/V2rayServer.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// Copyright © 2018 yanue. All rights reserved.
//

import Foundation
import Cocoa
import SwiftyJSON

// ----- v2ray server manager -----
Expand Down
2 changes: 1 addition & 1 deletion V2rayU/V2raySubscript.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// Copyright © 2019 yanue. All rights reserved.
//

import Foundation
import Cocoa
import SwiftyJSON

// ----- v2ray subscribe manager -----
Expand Down
2 changes: 1 addition & 1 deletion V2rayU/v2ray/V2rayConfig.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// Copyright © 2018 yanue. All rights reserved.
//

import Foundation
import Cocoa
import SwiftyJSON
import JavaScriptCore

Expand Down
2 changes: 1 addition & 1 deletion V2rayU/v2ray/v2rayInbound.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// Copyright © 2018 yanue. All rights reserved.
//

import Foundation
import Cocoa

// Inbound
struct V2rayInbound: Codable {
Expand Down
2 changes: 1 addition & 1 deletion V2rayU/v2ray/v2rayOutbound.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// Copyright © 2018 yanue. All rights reserved.
//

import Foundation
import Cocoa

// protocol
enum V2rayProtocolOutbound: String, Codable {
Expand Down
2 changes: 1 addition & 1 deletion V2rayU/v2ray/v2rayStream.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// Copyright © 2018 yanue. All rights reserved.
//

import Foundation
import Cocoa

struct V2rayTransport: Codable {
var tlsSettings: TlsSettings?
Expand Down
2 changes: 1 addition & 1 deletion V2rayU/v2ray/v2rayStruct.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// Copyright © 2018 yanue. All rights reserved.
//

import Foundation
import Cocoa

// doc: https://www.v2ray.com/chapter_02/01_overview.html

Expand Down
2 changes: 1 addition & 1 deletion V2rayUTool/main.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// Copyright © 2018 yanue. All rights reserved.
//

import Foundation
import Cocoa
import SystemConfiguration

var authRef: AuthorizationRef?
Expand Down

0 comments on commit 1379125

Please sign in to comment.