Subclass NSApplication in Swift

I created NSApplication subclass: class MyApplication: NSApplication { override func sendEvent(theEvent: NSEvent) { if theEvent.type == NSEventType.KeyUp && (theEvent.modifierF...