mirror of
https://github.com/qinyuhang/ShadowsocksX-NG-R.git
synced 2026-10-25 09:43:57 +00:00
28 lines
740 B
Swift
28 lines
740 B
Swift
//
|
|
// SubscribePreferenceWindowController.swift
|
|
// ShadowsocksX-NG
|
|
//
|
|
// Created by 秦宇航 on 2017/6/15.
|
|
// Copyright © 2017年 qiuyuzhou. All rights reserved.
|
|
//
|
|
|
|
import Cocoa
|
|
|
|
class SubscribePreferenceWindowController: NSWindowController {
|
|
|
|
@IBOutlet weak var FeedLabel: NSTextField!
|
|
@IBOutlet weak var OKButton: NSButton!
|
|
@IBOutlet weak var FeedTextField: NSTextField!
|
|
override func windowDidLoad() {
|
|
super.windowDidLoad()
|
|
|
|
// Implement this method to handle any initialization after your window controller's window has been loaded from its nib file.
|
|
}
|
|
|
|
@IBAction func onOk(_ sender: NSButton) {
|
|
print(FeedTextField.stringValue)
|
|
window?.performClose(self)
|
|
}
|
|
|
|
}
|