convert project file from swift2.3 to swift3.0

This commit is contained in:
qinyuhang
2016-09-22 20:17:12 +08:00
parent d7ddd286cc
commit 34db2cb9ca
17 changed files with 560 additions and 541 deletions
@@ -19,9 +19,9 @@ class AdvPreferencesWindowController: NSWindowController, NSWindowDelegate {
//------------------------------------------------------------
// NSWindowDelegate
func windowWillClose(notification: NSNotification) {
NSNotificationCenter.defaultCenter()
.postNotificationName(NOTIFY_ADV_CONF_CHANGED, object: nil)
func windowWillClose(_ notification: Notification) {
NotificationCenter.default
.post(name: Notification.Name(rawValue: NOTIFY_ADV_CONF_CHANGED), object: nil)
}
}