mirror of
https://github.com/qvacua/vimr.git
synced 2024-12-26 23:36:08 +03:00
GH-228 Add stub application(:openFiles:)
This commit is contained in:
parent
127c79985f
commit
0081aedea1
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user