mirror of
https://github.com/qvacua/vimr.git
synced 2024-11-23 10:13:32 +03:00
4f46e619cf
- hopefully we renamed everything
32 lines
767 B
Swift
32 lines
767 B
Swift
/**
|
|
* Tae Won Ha - http://taewon.de - @hataewon
|
|
* See LICENSE
|
|
*/
|
|
|
|
import Cocoa
|
|
import PureLayout
|
|
|
|
@NSApplicationMain
|
|
class AppDelegate: NSObject, NSApplicationDelegate {
|
|
|
|
@IBOutlet weak var window: NSWindow!
|
|
|
|
private let mainWindowManager = MainWindowManager()
|
|
|
|
@IBAction func debugSomething(sender: AnyObject!) {
|
|
NSLog("debug sth...")
|
|
}
|
|
|
|
@IBAction func newDocument(sender: AnyObject!) {
|
|
self.mainWindowManager.newMainWindow()
|
|
}
|
|
|
|
func applicationDidFinishLaunching(aNotification: NSNotification) {
|
|
// let testView = InputTestView(frame: CGRect(x: 0, y: 0, width: 300, height: 300))
|
|
// self.window.contentView?.addSubview(testView)
|
|
// self.window.makeFirstResponder(testView)
|
|
|
|
self.mainWindowManager.newMainWindow()
|
|
}
|
|
}
|