OSDN Git Service
(root)
/
kcd
/
KCD.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
505148a
)
#selectorを直接使うように変更
author
masakih
<masakih@users.sourceforge.jp>
Sat, 28 Oct 2017 11:56:07 +0000
(20:56 +0900)
committer
masakih
<masakih@users.sourceforge.jp>
Sat, 28 Oct 2017 11:56:07 +0000
(20:56 +0900)
KCD/AppDelegate.swift
patch
|
blob
|
history
diff --git
a/KCD/AppDelegate.swift
b/KCD/AppDelegate.swift
index
2448d95
..
660a3d7
100644
(file)
--- a/
KCD/AppDelegate.swift
+++ b/
KCD/AppDelegate.swift
@@
-8,12
+8,6
@@
import Cocoa
-private extension Selector {
-
- static let fireInAppDelegate = #selector(AppDelegate.fire(_:))
-
-}
-
@NSApplicationMain
final class AppDelegate: NSObject {
@@
-275,7
+269,7
@@
extension AppDelegate: NSApplicationDelegate {
NSUserNotificationCenter.default.delegate = self
Timer.scheduledTimer(timeInterval: 0.33,
target: self,
- selector:
.fireInAppDelegate
,
+ selector:
#selector(AppDelegate.fire(_:))
,
userInfo: nil,
repeats: true)
}