Files
ShadowsocksX-NG-R/ShadowsocksX-NG/SubscribePreferenceWindowController.swift
T
2017-06-15 06:27:08 +08:00

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)
}
}