1
1
mirror of https://github.com/qvacua/vimr.git synced 2024-12-26 07:13:24 +03:00

GH-228 Add stub application(:openFiles:)

This commit is contained in:
Tae Won Ha 2016-08-12 10:00:15 +02:00
parent 127c79985f
commit 0081aedea1
No known key found for this signature in database
GPG Key ID: E40743465B5B8B44

View File

@ -48,6 +48,10 @@ class AppDelegate: NSObject, NSApplicationDelegate {
.subscribe(self.actionSubject)
.addDisposableTo(self.disposeBag)
}
}
// MARK: - NSApplicationDelegate
extension AppDelegate {
func applicationDidFinishLaunching(aNotification: NSNotification) {
// let testView = InputTestView(frame: CGRect(x: 0, y: 0, width: 300, height: 300))
@ -78,6 +82,11 @@ class AppDelegate: NSObject, NSApplicationDelegate {
return .TerminateNow
}
// For drag & dropping files on the App icon.
func application(sender: NSApplication, openFiles filenames: [String]) {
NSLog("\(filenames)")
}
}
// MARK: - IBActions